fixing group terminating calculation issue
Refactoring the REST api
Removed all commited out methods
Merge branch '4.1.0-test' of https://git-wip-us.apache.org/repos/asf/stratos into 4.1.0-test
This closes #144

Merge branch 'api_test' of https://github.com/shirolk/stratos into 4.1.0-test
fixing group status calculation