add basePath and url helpers
add basepath as body data attribute
add $location.basePath() decoration
remove echo shorthand
Merge pull request #12 from stefanotorresi/fix/non-root-path-usage

Fix running in a non root path
Merge branch 'hotfix/12'

Close #12
Don't assume defaults
Always rebuild source path when requested
Merge pull request #15 from TomHAnderson/make-source-path-dynamic

Make source path dynamic
[#15] Minor fixes

- Needed to swap the lines creating the service name and the route name,
  to ensure we have a service name when we create the route
- tabularized the ternaries for readability
Merge branch 'hotfix/15'

Close #15
Authentication API

- RESTish RPC controller with GET, POST, PATCH, and DELETE
  functionality.
- Entity currently only understands HTTP basic and digest; we can update
  later to support OAuth2.
- Writes to application global/local config files.
Return a ContentNegotiation ViewModel

- Since this is not a RestController, we need to return a
  ContentNegotiation ViewModel for the content-negotiation to occur.
  Additionally, we need to seed it with a HAL resource, and ensure that
  resource has a proper self relational link.
Set proper response code/headers for create

- Set response code to 201 for successful create, with a location header
Create only when it does not exist

- forgot the negation!
Completed testing of AuthenticationEntity

- Found a couple of issues in the process
Completed testing AuthenticationModel

- Discovered an error with how each of fetch and update worked
Added information on authentication resource and service
Created AuthorizationEntity

- Allows composing REST and RPC services along with the various
  authorization privileges based on HTTP methods.
Added serialization capabilities to AuthorizationEntity