Changed the return value of startSync to bool. Fixed bug in plugin ctor

Fixed a bug in plugin object creation and changed the return value of
startSync to bool. Also added a workaround fix of adding a sleep of
200msec since the process state does not seem to be in
QProcess::Starting until then. If 10msec is used, process state is still
wrong. Fixed it to 100msec for now.

Signed-off-by: Sateesh Kavuri <sateesh.kavuri@gmail.com>
Patch to create the callback class towards msyncd from plugins

This patch enables the callback mechanism from plugins to msyncd. The
daemon has information related to scheduling, storage providers,
connectivity which can be used by the plugins to perform sync actions.
Also increased the sleep in PluginManager for process state to 1sec,
since 200msec does not seem to work. Also added method
isConnectivityAvailable to the dbus methods in msyncd

Signed-off-by: Sateesh Kavuri <sateesh.kavuri@gmail.com>