Lots of work on autocomplete and more refactoring code.

Autocomplete is nearly done, there is a new script to handle
autocomplete as a jquery plugin (currently uses bootstrap). The main
query.js code has been refactored to be inside an anonymous function to
permit use of "use strict" on all the code. Minimal functionality
changes other than a schema update.

Future: The actual retrieval code will need to be rewritten for the
new paging. This will actually make the code more efficient and easier
to read.

Change-Id: I1abf71469f56390ae7a3db9c4fb8889a756a40e0
diff --git a/client/query/query2.css b/client/query/query2.css
index 644a07a..f36df8b 100644
--- a/client/query/query2.css
+++ b/client/query/query2.css
@@ -26,6 +26,11 @@
   border-left: gray 3px solid;
 }
 
+.autoComplete .list-group {
+  margin-bottom: 0;
+  border: none;
+}
+
 #filters {
   margin-bottom: 10px;
   visibility: visible;