Halfway done with major refactor of fd.c
Almost done with refactor of fd.c
Finished fd.c, but still need to update interface uses in controller.c
Added commandline option for pre-allocating FD objects
Finished refactor of controller.c (but not tested)

In particular, I stopped pre-parsing the commands' argv, and instead
added two utility functions which can do a bulk of the setup work
for most commands.

I also finished implementing the setup work for fd.open and fd.pipe
which is no longer done by the fd.c module.
Fixed svc_check_name to check name length too
Finished with most of refactor, and compiles and runs again
Wrote first testcase, for --version - refs #12

This includes a perl module that simplifies the code needed to
interact with daemonproxy.