Bug fixes patch. Plugin checks, made server plugin work with Contacts

* Added couple of plugin errors
* For server plugin, the profile has to be expanded after the lookup is
done
* Removed the stopOOPPlugin() calls if process is not started

Signed-off-by: Sateesh Kavuri <sateesh.kavuri@gmail.com>
Added maximum timeout (30 mins) for plugin to finish sync

The maximum timeout will ensure that the plugin will not go on forever.
The max timeout value is 30mins

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