Update Functions.hs

Generalize parseHelper to work with types of messages other than FormMessage.
Merge pull request #635 from andrewthad/master

Update Functions.hs