Limit line length.
Autocomplete functions as well as scripts.
Add some help info.
Add debug flag to init.

When initing in debug mode, as controlled by MGR_DEBUG then we prepend to the
path, otherwise we append to the path.
Correctly check if MGR_DEBUG is set.
Let help find shell functions too.
Add help info.
Completing should put one option per line.
Remove unneeded hash bang.
Terrible hack to work with shell functions.

I can now autocomplete shell functions. Yay. Sadly this uses a hack to do so. I
have to source the function and mgr each time (WTF, why?) and then run the
complete echo it and use tr on the result. Very strange and bad.
Merge branches 'master' and 'develop'