Add fixture and fixtures to karma
Add text to requirejs
Make permissions tests use mocked api. auth-api is adjusted to make that possible. Add permissions.forCollection passes back CollectionAuthorization object