WP8 XAML support

This pull request adds support for Windows Phone 8 XAML apps.