Fix typos
Merge pull request #1927 from VojtechVitek/typos

Fix typos
Add basic authorization.

Added basic interface for authorizer implementations.
Added default "authorize everything" implementation.
Added authorization checks in each REST handler routine.
Added tests that these routines return forbidden error code
when the authorizer implementation denies access.
Rename
Changed to handler wrapper style.
Made requestAttributeGetter public.