Fixed WPF sample initialization. Added WP8 test project.