json view for GET service request.
add endpoint to get config
fix test
Merge pull request #20 from mwhooker/rest_endpoints

Rest endpoints