started implementation of query language

basic representation of queries as Python objects
basic conversion of query representation to SQLAlchemy queries
* sets: filter by author and creation datetime
* datas: filter by param value (< >, range), context, limit clause

other:
implemented use cases for data queries
console-env for use with IPython
Query conversion fixed and extended

Context matching was wrong (only worked if context name was given)
Sort now supported for datas
Limit for sets supported
some pep8 cleanups
AugQL Parser seems to work

First parser implementation (with Parcon)
Queries from testqueries are working
Some renaming
Very basic searching via web client, sort fixed, filters in parser fixed

Fixed sorting when multiple parameters are present
Fixed setting param filters in query dict in parser
Queries can be entered on search page
Sets are displayed with set.html
Number of datas in result is displayed
Hack in Accesscontrol for LIMIT clause
Added Parcon as dependency in README
Allow selecting DB backend on startup

init_db.py supports database option
runserver.py supports database option
database settings in dbsettings.py
expanded README
changed default query to sets, added mail
OR now works in param filters
added DateRangeParser as dep
Display search query history and data search results

save queries to DB
Display query history on search page
Old Oueries can be inserted in query editor area
Data search results are now displayed in a table
Query Language help, enhanced query history

AugQL help in tabs on search page
Deleting queries from the history is now possible
User can choose if query should be saved
Popovers for query history
Template for set query display
Template for parser errors
Import cleanups
Unit tests for query parser and SQLA conversion

All tests pass
Added more test queries, including wrong query strings
comparing language elements is now possible (__eq__ implemented)
cleaned up language representation

Fixed some problems seen in tests:
* now all number literals are correctly converted to float resp. int
* removed empty param_filter dict from set query dict
* Entry converts int values to float now (not stored as complex anymore)
some code reorganization with coffescript

search.js converted to coffescript
query history can be shown and hidden
Enhanced query history, code reorganization

splitted queryhistory and search.coffee
added JQuery plugin ColResize
Use JQuery Datatable and ColResize for query history (sorting...)
running query from history works
added Searching query history by column
moved "insert query" command to own column
added history / result switching (no results yet)

last commit: addded log4javascript logging
Template reorganization and some enhancements

* datatable displays data in query result and set page
* separated settable.html from setlist.html
* Link to Context in datatable
* display params and their values in search result (intersection of params from query
result)
Showing results below in search page works
Saving queries, async updates for query history

* added saving queries via button
* query history now refreshes when results are shown via AJAX
* Run Query button changed to <a>: solves strange problems with
* submit()...
Data Display testing, misc fixes

* added page for data display testing
* show 1D as sparkline plot in table (line)
* show 2D as matplotlib image in table, created by server

* fixed: filter box helpers in query history now even work with multiple classes...
* fixed: data query error when result was empty
* fixed: datatable reinitalization on query history table

* added log4javascript.js file
* coffeescript function comments
Favorite queries, coffee/javascript reorganization, data display testing

Queries
* query dicts can be (de-)serialized from/to JSON
* JSON query saved in DB for faster running of saved queries
* Access control
* Favorite queries can be run from main menu

Coffeescript modules
* init modules via $(document).ready
* mechanism for adding constants (like URLs) to modules from jinja templates
* comments

Datadisplay page
* flot test: two clickable and hoverable plots (fetched via AJAX)
* sort tables by visibility status, dimensionality and parameter name per default

misc
* added Python 2.7 to deps
Added MIME-based rendering for contexts, parameter and entries

* some changes to login code because of mimerender
* entries view: JSON, HTML, Plaintext, PNG (matplotlib), 2D untested
* added parameter view (JSON / HTML)
* context and contextlist (JSON / HTML)
* added simple 1D entry display page (1D plot and raw data)

Coffee:
* entry module for plotting (currently 1D with flot)