Initial test and REST client framework

This PR contains a rough outline of:
 * the test framework
 * the REST client framework
 * linting
It might be simpler to use the email address as username when the authenticationStrategy is `local`