Fixed bugs in permissions revoking.
Tweaked method to return actual classname. The class will be deproxied
first too.
Fixed issue with removal from a list that is persisted using a combo.
Formatting.
Rewritten javascript to combat a strange error with the button
submitting to the wrong place.
Added Territory management to the relevant types.
Added a Super User group that admin is added to.

Moved selective PI code into thye API we wish to be selective.

Modified menu generation to use isCreatable() and isReadable() methods
from the SecurityApi class.