API Filter by date created for files (don't merge)

Behat tests to be added prior to merging this in.

ref: CWPBUG-144