Trim any whitespace, newline or ';' characters at the beginning or end
of the function body passed to set-function modulefile command to
correctly define shell function whatever the writing style used.
fixed linelength and tabs/spaces
adding set-function/unset-function documentation
adding tests for set-function/unset-function
fixed failing test for function modulefile additions