Register all polling functions

Allows us to cancel polling functions when the page exits
should not make a difference
use a sane programming language to parse service status
remove whitespace
break some docker interactions to functions
fix spelling error
fixes CC-54, add heading to service level graphs
Merge pull request #993 from control-center/feature/testPullRequest

fix pull requests
fixed dynamic endpoints port calculation
Merge pull request #997 from control-center/feature/CC-49

Register all polling functions
Merge pull request #996 from control-center/feature/CC-122-1

fixed dynamic endpoints port calculation
cleanup /tmp/serviced-root/var correctly before startup
Merge pull request #998 from control-center/feature/fix-smoketest-cleanup

cleanup /tmp/serviced-root/var correctly before startup
Merge pull request #994 from control-center/feature/CC-54

fixes CC-54, add heading to service level graphs
ensure service is defined before being operated on