Fixed certain minor 404 errors from default 'quirk' template.
Began fixing addin manager, still much to do.
Moved all page printing and template creation to addin.php so addin creators don't have to duplicate this step for all addins.
Prepare settings addin form to handle site settings when an admin is logged in.