Define expected view update behaviour in tests
Fix update view test request types and response codes
More update view test fixes
Setup and destroy dbs before and after each test to prevent interference between tests (the most notable effects were in deletePermissions which caused other tests to have insufficient privileges
Imlemented API calls to update existing views
Merge in put_views branch