Add/basic business rule checking#15

Adds the ability to add additional custom application specific checks when testing permissions