Add support for WP8.1

Profile changed to 259. Add support for certificate credentials.
Indented.