Handle TargetInvocationException.
Support WP8. #3
Read platform version from manifest. #4
Support WP8 capabilities. Closes #2.