Add .gitignore and a test image
Reworked the Promise chain() method to be a helper, Promise.chain() returning a nwe promise. Fires onedone event when each given promise is successful, with (i, promise, result) parameters.
[misc] Return 404 appropriate when not hitting static or API endpoints.
[#13] Token permission listing API and JS wrapper implemented.
[#13] Fixed the list permissions to look at the requested user, not the authenticated user. Implemented token creation.
[#13] Tokens can be created, granted to, bug fixes in getting permissions. Can only grant permissions if authorized to have the same permissino.
Update todo demo for the changed API location.