Added functional tests for almost all apis except /reports* due to bugs #52 - #56

Problems:

users is not present in groups or sites so reports/issues and reports/status will always return empty