Intercept redirect only if it's not XHR (Ajax)

Intercept redirect can't really help debugging at all
if requests are XHR (Ajax), because browsers just don't render
their response by default.
adding reference to noConflict'ed jQuery
Merge pull request #42 from bollwyvl/share-jquery

adding reference to noConflict'ed jQuery
Merge pull request #41 from crosspop/ajaxfix

Intercept redirect only if it’s not XHR (Ajax)
Switch to itsdangerous for SQL query signing

Fixing #31 where the query signing would break when the SECRET_KEY
contained non-ascii values. In the process switch to itsdangerous
instead of rolling our own signatures.
Nice error message for un-repr-able objects

The "printable" filter can throw an exception when trying to display a
user object whose __repr__ implementation returns unicode, which repr()
does not allow. Catch it and display a more informative message
instead.

See #31 and #39
Fix werkzeug request logging with the log panel

Werkzeug will disable its default logging setup if another log handler
is already configured.  At some point the initialization order changed
and the logging panel's handler is getting added first now, so
werkzeug's request log will not be printed to the console by default. By
explicitly calling werkzeug's logger we now make sure it's initialized
before the logging panel's handler.

Fixes #33
Prepare 0.8.0 release
Merge branch 'release/0.8.0'
Use Flask theme for the documentation
Docs Makefile needs to ensure git submodules are initialized
Template editor should use Jinja loader's encoding

The template loader wouldn't handle non-ASCII template encodings.
Updated it to use the encoding parameter of the Jinja loader when
reading and writing the template files.

Fixes #46
Improve format_sql(): use sqlparse.format()
Merge branch 'sqlparse'