Add type and validation/rendering for date(range) fields
Move range control to own file with daterange support

This is mostly a clone of the existing range code, the original file
(controls.js)
was simply to large to work in, so I extracted it and refactored to work
on dates
as well as ints, so this is mostly not new code, thought that's hard to
see.
Add moment.js to project
Awesome date parsing.
Extract value from JValue before constructing query

FastDAO failed on the type-mapping.
Refactor closable-panel code

Reduce nesting for checking the class names of non-closable panels
Expand variable naming

Refactoring some old and complicated code by introducing longer variable
names.
Merge pull request #28 from azavea/topic/date-queries

Add support for date range queries