Adds functions for actions and filters.

* Adds flush rewrite rule helper, and calls on activate and deactivate theme.
* Adds 'ivanhoe' query var to WP vars.
* Adds call to new form template.
Removes calls to non-existing pages.
Amost working to fix uploads for less-than-Editors.
Get the post content from, um, post_content.
Removed unused and unloved files.
Merge branch 'feature/forms' into develop