code beautifying and propper redirect after OAuth revoke (UserModel)

 * Added JSLint support
 * proper indentation
 * fixed redirection for invalid OAuth credentials.
Code Merge
Ignore Eclipse Files
code cleanup
added allowed hosts, fixes #6