Tidying up and documentation for directives and services.
Separated panel controllers into their own source files.
Add automatic chart line colouring for the IM page.
Fixed up the charts on the EDP page.
Automatic chart line colouring for the collapse/demo page.