.hash now accepts optional :type and :of named parameters

So that we potentially can roundtrip .perl output, provided it can be
generated properly
Merge pull request #155 from lizmat/hashwithtypeandof

.hash now accepts optional :type and :of named parameters