Using an extended path for the allocations URL will now navigate to the selected FOR level

Housekeeping to keep the checkstyle stuff happy.
More and more JSHint issues fixed.
Fixed bug due to instability of d3.js colour pallette.
Rebased to dependency.

Change-Id: Ieae25be0d33c89e5b2927c13591ed7cc1febf94b
Merge "Using an extended path for the allocations URL will now navigate to the selected FOR level"