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
check for valid service before iterating
fix wrong function call
Merge pull request #1000 from control-center/bugfix/anyServicesExported-2

check for valid service before iterating
Merge pull request #1001 from control-center/feature/fixWrongFunctionCall

oh jhoo, u 2cute4me.
fix polling callback being passed intervalId argument
Merge pull request #1002 from control-center/bugfix/pollingIntervalCallback

fix polling callback being passed intervalId argument