Fixed minor type, relates to issue #45.
Added permissions dispatch, relates to issue #45.
- Added dispatch
- Added prototype
- Added tests for API/SDK
Fixed permissions tests, relates to issue #45
- Fixed permissions tests
- Cleanup of console.log