abstract out api helper service
Merge branch 'view-cluster' of github.com:clusterapp/client into view-cluster
add tests because @olliejennings is a dreadful programmer