Updates to keycloak.js, including adding support for Cordova

Conflicts:
	examples/cordova/example-realm.json
	examples/js-console/src/main/webapp/index.html
	integration/js/src/main/resources/META-INF/resources/js/keycloak.js
Fixes to account referrer to allow configurable referrer uri based on app redirect uri
Removed files that shouldn't have been committed
Merge pull request #299 from stianst/master

Added support for Cordova to keycloak.js
fix typos and formatting
Merge pull request #300 from corinnekrych/readme.instructions.improvement

fix typos and formatting
Authentication SPI. Implementations based on Picketlink+LDAP, model and external model (other realm). Added KeycloakRegistry
Fixes to JS sdk
Merge pull request #301 from stianst/master

Fixes to JS sdk
Merge pull request #302 from mposolda/ldap

Authentication SPI. Implementations based on Picketlink+LDAP, model and ...
Fixes in AuthenticationProvider. Fixing testsuite
Merge pull request #303 from mposolda/ldap

Fixes in AuthenticationProvider. Fixing testsuite
KEYCLOAK-388 - Auth SPI should be able to differentiate between the INVALID_USERNAME and INVALID_CREDENTIALS
Console: work in progress
Merge pull request #304 from mposolda/ldap

KEYCLOAK-388 - Auth SPI should be able to differentiate between the INVA...
Added Authentication SPI dependencies to auth-server.war
Merge pull request #305 from mposolda/master

Added Authentication SPI dependencies to auth-server.war
Remove unfinished ldap-settings tab, which I've added accidentally in previous PR
Merge pull request #306 from mposolda/master

Remove unfinished ldap-settings tab, which I've added accidentally in pr...
Fixed charset issue while decoding token with atob