Added the isPermitted method to AccountResource, which checks the currently logged in user's permissions to see if a given permission is found.

In support, the UserDAO object now has an isPermitted method, which the API endpoint calls.

~ Joshua Soles<josh@infobelt.com>
Merge remote-tracking branch 'origin/master'