Refactoring authentication layer.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Internal user authentication is persisted and added optional "once" method to only authenticate for single request.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Implemented API::route and API::action for name-based and action-based requests. Closes #12.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>