Remove curious Applescript cubic_centimeters import.
Fix PEP8 over-indentation.
Add Project and Organization metadata fields to queries table.

- Add a 'select or add option' widget to
support the project and organisation selection in
the UI;
- Add Project and Organization tables;
- Add project and organisation reference fields to
queries table which use the 'select or add option'
widget;
- Turn on (uncomment) JQuery UI in the layout.html
view.