forms, bug fixes

Moved forms to their own directory, fixed a few bugs, started
implementing dialog forms for adding/updating/removing
action/permission mappings
Little more tidying up

You get the idea...
Merge pull request #13 from alexweissman/butterflyknife

Butterflyknife