core/fn and macros/fn handle metadata correctly; added a test
Merge pull request #149 from Prismatic/fn-metadata

fix metadata handling in `fn`