Fix #17 - Extending the TypedCollection does not break the filter.

* Add validation for type configured.
* Add support for Doctrine dbal
* Update Readme, fixed code block