Improved documentation.
Renamed getErrorCollection to simply flatten (breaking change).
Updated unit tests to match renamed method.
Updated README.md