make the user api a base class for future use with web users
add web user resource
web user resource tests + bonus test for commcare user resource
api test cleanup
add role and permissions to web user api + tests
Merge pull request #295 from dimagi/web-user-api

Web user api