Added encodedSync to get profiles using a Sync method

I am using this in [karma-sauce-launcher](http://github.com/karma-runner/karma-sauce-launcher) and it is much easier to get the profile if it is available synchronously.