added new endpoints for ismaster and isslave, retired getmaster endpoint
removed JaxRsResponse.getEntity(Class) as it is redundant
Merge pull request #574 from lassewesth/masterinfo

added new endpoints for ismaster and isslave, retired getmaster endpoint