Collect serializations of enviroment with attributes
Add test cases for parsing of an environment with attributes
Fix parsing of closures with attributes (close #35)

`tagged_pairlist_to_attribute_hash` returns a hash, and 'attributes'
is a hash reference.