Fix WP8 app exit with back button

CEGLView end() is called from the CCDirector's
end() method, so we should terminate the app then.