Parse the command line myself instead of just pasing it through to confd.

The biggest difference is that I have both short options and long options,
with the long options denoted by the standard double dash instead of a single
dash
Add .gitignore.
Added "-h|--help" option to print usage information.
Added some documentation for the new options.
Allow specifying basic confd options from the environment.