Func outputs and examples

> 14:41 < k-ma> nickanderson_afk: it would be nice if all function docs would have the expected output from the given example.cf
> 15:10 <@nickanderson> k-ma: yes, i agree. please help us, we accept pull requests!

Here you go :)

This might be bit much to read through though. Content changes were mostly scripted so few additional eyes wouldn't hurt to check that stupid things didn't slip in. Instead of just adding the outputs, I also threw the existing examples through `reindent.pl` and did some additional tidying.