Update diagram colors.
Namespace javascripts libraries into Nil object.
Move App startup code into NIL.course namespace.
Add explicit configuration of icons svg source.

Removes global dependency on hard-coded icon svg source path.
Group javascripts together.
Add diagram.loaded() event.

This solves a bug in which the ajax requests were called twice due to parallel invocations.