Merge pull request #410 from unikent/refactor/menus-and-links

Links and menus
Standard fields now mostly work
Get basic filed editing working, move more stuff to model
Merge branch 'feature/refactor-ug-pg-logic' of github.com:unikent/programmes-plant into feature/refactor-ug-pg-logic

Conflicts:
	application/views/admin/inc/sidebar.php
Add raw_save + fix id pass to edit method
Correct lang & some ui stuff
Fix schema changes & globals revisioning
Main functionalty
fix route
ovrerideable
field migrations and permissions fixes

* fixed migrations for fields.
* fixed bug with permissions for std users on save
* added test for correct permissions for assign_field
modified test user create method name
section stuff
Merge branch 'feature/refactor-ug-pg-logic' of github.com:unikent/programmes-plant into feature/refactor-ug-pg-logic
fixed environment in paths
Merge branch 'feature/refactor-ug-pg-logic' of github.com:unikent/programmes-plant into feature/refactor-ug-pg-logic
Fix section save
Correct some links
fix the bug where reviewing a revision without a live revision breaks the world!
Merge branch 'feature/refactor-ug-pg-logic' of https://github.com/unikent/programmes-plant into refactor/menus-and-links

Conflicts:
	application/views/admin/inc/header.php