Resolves #39.

Change module path handling so it is sane:
 - modules like service/modulename will get the base module path and the suffix tacked on
 - modules like /path/to/module.so will be treated as absolute
 - modules like service/modulename.so will be searched for in the working directory (./service/modulename.so)
 - modules like modulename.so will be searched for in the working directory (./modulename.so)

The module name buffer is now static and is reallocated every time it needs to be, and not ever freed.  Size is calculated correctly instead of assumed.

Reformatted slightly and fixed typos.  Removed dead code from the end.