WIP: defining permission object and mechanism for testing against availibility
documenting and refactoring Auth's State.js
refactoring loginView to listen for "close" event instead of direct function call
Adding access control to the Contracts module
console.log fix for ie and other browsers