Work on the templating system

- create a basic template
- add text elements to the template
- rearrange elements
Further work on the templating system
More work on the templates

- Templates can now be created and populated
- Users can populate an event using a template (still needs work)
- File type elements are not yet implemented
Further work on the templates
First version of the templating feature complete

- still needs some refinement, but it's feature-complete
Some fixes to the templating

- resolved bugs with permissions
- fixed the broken mass delete tool
- Fixed an issue with the type not being chosen correctly for file type attributes when created through the templating tool
Freetext import tool

Added freetext import tool
Several features finished

- first version of templating system complete
- first version of freetext importer complete
- first version of mass attribute replace tool complete

- some UI changes
Update for the MYSQL scripts for the new features
Update to the main MYSQL.sql file
Merge branch 'feature/templates' into develop

Conflicts:
	app/Model/Event.php
Truncated the event info fragment shown in the pivot bubbles by one extra character