added module for restful webservice
implemented LocationResource which returns all active locations, json format