Application state support for WP8
Add method to retrieve the application state on each platform