This includes a number of validators meant to support the creation of new users and resources (for instance by checking for resource ID uniqueness etc).
Also start adding some tests for the AccountService code.
The result is a functional server, altough there aren't nearly enough comments.