Merge pull request #259 from shenrie/master

Fixed a small issue with inadvertently removing precondition policy functions
Refactored governance functions in base agents and pushed support functions into governance controller