Helper functions: creation of anonymous functions from strings containing a function body.
Merge branch 'master' of https://github.com/medic/medic-forms
Merge, minor cleanup.
Cleanup.
Some minor cleanup of image validation code; tests remain passing. Please do yell if I did something really offensive and/or dumb.