Use Glib for command line parsing and libardour/pbd initialization

Implement command line parsing using glib/mm instead of getopt in gui, libardour and libpbd. This is not necessary for mingw compiler but possibly beneficial for MSVC based builds. There is also a bit of refactoring of code relating to initialization of libardour and libpbd