Upgraded jquery, jquery-ui, fullcalendar to latest versions

- removed json.js because it's now unnecessary, and fucks up the new jquery
- fixed other problems caused by backwards compatibility breakage
seemingly sorted keydown/keypress mess on chrome and firefox (fuck all about this)
make search query selected when the query box is opened
return key behaviour was now broken
cancel buttons for 'query' and 'add' dialog boxes
Control of visualization with #:cal option
replaced calendar.js with datepicker from jquery-ui (that is there anyway)
category tree
unified list and calendar view pages
disabled autosaving for ontology (suspect jstree may sometimes give me trashed json objects)
functions to check that entries in the database match the ontology
tags expansion using ontology (on add) and ordering of tags based on the ontology
Implementation of subitems: visualization
Implement subitems (rest)