Moved generateGenericBoxDataset function to dashboard.js
Function doc update
Major code clean-up

* Only using the One statusdb map-reduce view to rule them all
(currently called projects:process_flow/KPI_appl_pf_dates_sampl_lanes;
but that is too silly and should be changed).
* All status panel drawing moved to dashboard.js
* Unused functions and a lot of commented-out code removed
* Functions doc updated
Added function doc & moved functions around in file. No code changes
Removed some outdated function descriptions.