fixes# MLHR-895
added more checks in test case
Squashed commit of the following:

commit f03915717db5252f93aec830a927c2ab7d5f4733
Author: Nick Holub <nikholub@gmail.com>
Date:   Thu Mar 6 14:18:43 2014 -0800

    fix #MLHR-858 Installer - Gateway Restart

commit 30ed81acfa83d2247133aeac9ccd5947ca0b4744
Author: Nick Holub <nikholub@gmail.com>
Date:   Thu Mar 6 13:10:44 2014 -0800

    fix #MLHR-903 Installer - WebSocket DataSource Disconnect
Merge pull request #756 from nickholub/inst9_pull

Installer - Restart Gateway from Summary View
Merge branch 'master' into my_master
Move the code from API to library so that the dependencies stay clean.

Conflicts:
	library/src/main/java/com/datatorrent/lib/codec/JsonStreamCodec.java
	library/src/main/java/com/datatorrent/lib/io/WidgetOutputOperator.java
Merge pull request #757 from 243826/my_master

MLHR-904 Fix the nightly build and trigger build failures
added the support for mapping between names and groups
Merge pull request #753 from gauravgopi123/MLHR-895

fixes# MLHR-895
fixed build warnings
Merge branch 'master' of github.com:DataTorrent/Malhar