Release logging related resources when mce makes an orderly exit

While closing logging is not necessary, doing it reduces noise during
memory leak debugging. In the code the logging cleanup was made on
abnormal exit paths, but omitted when making an orderly exit.

Remove unnecessary mce_log_close() calls from abnormal exit paths.

Perform logging cleanup actions on normal exit.
Release input device directory tracking objects on mce exit

While file monitoring signal was disconnected and monitoring cancelled,
the related gobjects were not cleaned up.

Omit unnecessary g_file_monitor_cancel() calls and make appropriate
g_object_unref() calls.

Also change initially available device scanning to happen after the
directory monitoring is in place.
Add camera button datapipe cleanup

All datapipes initialized with setup_datepipe() should also be
cleaned up via free_datapipe().

Add missing free_datapipe() call for camera button datapipe.
Generate debug info for compiled C files

Static symbols etc were missing from mce debuginfo packages because
extra debug information was not generated during compilation.

Use '-g' option both for compilation and linking.
Verify monitored dbus names asynchronously

The standard dbus_bus_name_has_owner() function from libdbus uses
blocking D-Bus method call.

Use custom asynchronous query instead.
Do not make explicit dbus connection flushing

The dbus_connection_flush() can block and is not needed since
the connection is bound to the glib mainloop.

Remove potentially blocking The dbus_connection_flush() calls.
Remove all installed gconf notifiers on mce exit

Leaving callback functions from unloaded modules active can cause
mce crashes on exit path.

Remove all installed gconf notifiers when modules are unloaded
at mce exit time.
Merge pull request #211 from spiiroin/memleaks

Fix minor memory leaks and remove blocking dbus calls
Bump mce version to 1.34.2

[mce] Fix minor memory leaks and remove blocking dbus calls. Fixes JB#22450