Query WIP
changed to simpler relation tuple representation
dropped intermediate datoms -> rel conversion
inputs & assignments parser
preds & funs support
added aggregates, all tests pass except rules
slightly optimized -collect
Rules implemented & all tests pass!
caching already calculated prefix context in rules expansion
Rules perftest
Specifying DB to rule
Removed old query code, version bump, fixed :advanced compilation
Merge remote-tracking branch 'remotes/tonsky/master' into analyze-q

Conflicts:
	project.clj
	src/datascript.cljs