Add support for WP8.1

Profile changed to 259. Add support for certificate credentials.
Is this same version of current code?