Support for Contact Engine

Hello, I added a new model to support authentication against Contact Engine https://github.com/damko/Contact-Engine and I'd like to maintain it over the time.

I also made little changes in a few core files but I already verified that it can be merged with branch 2 without any conflict.

Thank you very much for your amazing job

Cheers! :)

Dam