Fix serializing generator expression
Generalize get_opts_fields to work with any collection
Use collection's count method if it exists

This ensures better support for, e.g. ORM
querysets
EAFP
Bump version -> 0.4.1