Added lots of docs, DateRange constraint.

Trying generated docs in markdown format for nice reading on github.