Resolve app startup issues related to building a release. Put in place framework for
configuring the application.

Can now build a release and start the resource_discovery application (though it doesn't
currently do much as configured).