* parseHash now returns null on invalid hash URL.
* getProfile MUST be called exclusively using a token (object obtained by doing parseHash of the hash URL).
* Removed inCallback function as it was confusing.