Encrypt password information when getting token

Add support for getting ArcGIS Server public key and encrypt password
using RSA during token generation.
Merge upstream changes and reapply encryption of token changes
Merge pull request #1 from pheede/master

Integrate RSA encryption of password when getting token