more metadata options
fix pep8
fix test output
separate encoding check, add packages
Merge pull request #153 from iblazevic/metadata_fixes

more metadata options