Merge pull request #396 from unikent/feature/enhance-tests

Tests for API model
Programme settings
get apis to output
Tweak tests a little as a start
Use static
view revision
Merge branch 'develop' of https://github.com/unikent/programmes-plant into feature/refactor-ug-pg-logic
approve
review methods no longer use hardcoded vars
some more instances of programme
Merge branch 'feature/refactor-ug-pg-logic' of https://github.com/unikent/programmes-plant into feature/refactor-ug-pg-logic
Set URI in tests so ug/pg work
fixed Programme to UG_Programme in api tests.

also added a logged in user for all model tests
Fix more tests
Merge branch 'feature/refactor-ug-pg-logic' of github.com:unikent/programmes-plant into feature/refactor-ug-pg-logic
Merge branch 'feature/refactor-inbox' of github.com:unikent/programmes-plant into feature/refactor-ug-pg-logic
Add ability to sent URI env
fixed ProgrammeField -> UG_ProgrammeField

did a find-replace in code and tests. This needs refactoring eventually!
Merge branch 'feature/refactor-ug-pg-logic' of https://github.com/unikent/programmes-plant into refactor/menus-and-links
removed constructor from base test class