Squashing commits
added form params to the renderArgs, added template function 'firstof' to return the first non-'null' argument

removing params thing since it doesn't work

removing a stray i

cast should use reflection first

more concise version of string reflection

never commited the more likely version

removing comments, unnecessary string cast, return nil if no args are good

you'll shoot your eye out
Merge pull request #586 from iassic/enhancement/firstof-sqashed

added form params to the renderArgs, added template function 'firstof' to return the first non-'null' argument