Named parameters

Changed definition and all writers to accept param names in function types
TODO fix parser

See #34
Fixes parser for named parameters

Closes #34