Add Entity Insert and Save methods
Update error checks
use get_id() in the SQL statement
Update the rule_id data var after SQL insert
Add some CSS so [list] inside of rules look nice
Refactor anchors and template var names in front end controller
Add get_rules function to the controller display function
Refactor to use a single template loop
Remove unneeded right/left_id from insert function

These are not needed now that we use the phpbb/tree/nestedset class
Add some extra commenting
Correct test class name
Merge branch 'master' into entity-insert-edit-delete
Merge branch 'master' into front-end
Use the new extension_database_test_case so our migrations are installed
for tests
Fix exception test
Allow array to be the message in an exception
Merge pull request #35 from EXreaction/task/fix_exception_test

Fix exception test
Test to check our migration was installed
Support for nested rule categories
use S_LAST_ROW