Added xyproto/permissions

Wrote a Negroni middleware package for handling users, logins and permissions (public | users | admin).

Uses Redis for storing user information and cookies for storing the username in the browser.

Also supports generating codes that can be used for confirming the user after registration.