test/query.clj: Balance parenthesis

An imbalanced set of parenthesis was causing some of the tests to be
skipped.
Add a script to batch indent Clojure sources

This iterates over each Clojure source file within the repository and
invokes Emacs in batch mode to indent the code and save the
changes. Usage:

    $ ./scripts/indent.sh

Full credit to Alex Baranosky, see:
http://www.lispplusplus.com/2013/10/mass-clojure-file-formatting-with-emacs-batch-mode.html
Use inline-js to embed index page JavaScript

We want to avoid having a mixture of programming languages in a single
source file, so abstract the JavaScript from the index view logic into a
separate JavaScript source file.
Use .inline.js extension for inline JavaScript

This way we can help distinguish between JavaScript files which should
be sourced using <script src=""> tags and those which are intended to be
inlined directly into the page.

        as.js
        bootstrap-3.0.1.min.js
        google-analytics.inline.js
        index.inline.js
        jquery-1.10.2.min.js
        main.js
        modernizr-2.7.0.min.js
        moment.min.js
        record.inline.js
        search.inline.js
Inline the advanced search JavaScript

We can inline the advanced search JavaScript since it's specific to that
page and is only 4.0K in size.