Improve Volume.condition/permission

A better solution to both the preargs and conditionArgs problems: only
ever use preargs for from clauses, and lift necessary selects into
values lists.  The query planner indicates no noticeable performance
impact of this change, but the resulting syntax is much nicer.
Add lower and upper Orderings for Range
Merge remote-tracking branch 'remotes/origin/master' into angular

Conflicts:
	app/models/volume.scala
removed excess angular distribution stuff
Fix NULL token bug

Not sure how this escaped notice for so long, since it's been there from
the beginning.
Merge remote-tracking branch 'remotes/origin/master' into angular
browser orders volumes and records into new data array for display - impractical performance currently; views now wait for data to resolve properly; global services