Register negative permissions last

In SQL, negative permissions are assigned in an arbitrary order - this
forces negative permissions to be assigned last on each inherited level.
Merge pull request #36 from Spyboticsguy/develop

Register negative permissions last