Add pagetype support

- Don't show page type selector unless there is more than one
- Add in pagetype to query
- Add new route for getting page custom fields by pagetype
- Add pagetype into field route
- Pass current pagetype to Extend::fields
- Added partial for ajax fetch of page fields
- Better selected attribute for fields editing
- Added page fields logic to page edit and add
- Change index to hide all when there are no pages
- Fixed an issue where the Csrf token would be put out of date
- Apply Csrf token fix to new page. Make sure all is default for new page creation.
Fix issues found with the PR

- Remove SQL default file
- Fix database field type errors
- Use different wording for page types index
Bring in James's PR which adds pagetypes