Improved filters

* Allow functions
* Allow filtering of nested properties
* Fixed Date conversion bug #5.