Fixed 'the the' in comments; Refs #7714
Remove name of unused parameter.  Fixes #8033.
Handle nullary result_of.  Fixes #6914.
Handle const lambda functors for nullary result_of.  Fixes #6914.