Documentation for lang/functional module
Merge pull request #933 from jsantell/func-documentation

fix bug 859507: Document lang/functional module, r=@wbamberg