Add a test for getModels()
Merge pull request #8 from spiral-project/get_model_doc_attr

Add a test for getModels()
Get or create token
Return both credentials and session token in getToken()
Check credentials on server
Start session
Derive key with Mozilla hkdf helper
Fix request.response parsing in browser. FAIL with sinon.js
Store token in session