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