set up api urls factory to avoid hard coding url in more than one place
missed some more hardcoded urls
Merge pull request #16 from clusterapp/no-hardcoded-urls

set up api urls factory to avoid hard coding url in more than one place
Merge branch 'master' into edit-cluster