Fixed the remaining issues for the next release. The bug where approving a template left an edit that could not be approved actually extended to all pages requiring approval. Likewise, approving a new attachment left the file data unapproved and could not be approved. The next release will include an upgrade script that cleans up the damage caused by all variations of the bug. Also, approving new pages will no longer duplicate the first edit.