AMENDED AND RESTATED MASTER SEPARATION AGREEMENT dated as of May 13, 2013 between COMPUWARE CORPORATION and COVISINT CORPORATION