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
100msec 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>