manual: added the global functions section.
Move the manual to doc/manual.txt.