Implemented a more sophisticated system for the definition of the permissions on the API, see digipal-api.txt for the details.
Merge branch 'master' of github.com:kcl-ddh/digipal