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
Merge pull request #23 from yvoyer/feature/17

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