Combining Grid building functionality into one function in datatable.js
Moved several global variables to datatable.js since they relate only to datatable updating and creation.

In future we need to moved these into a class or object of some sort. Same with functions.
Refactoring datatable.js for readability.
Renamed various functions. Changed BindTableActions() and ClearTable() to use the global dTable instead of pass parameter.
Removed oldSetup function from setup.js
Moved remaining datatable related function from setup.js to datatable.js
Added fillTable(). This retrieves data from the CGI script and places in the datatable.
Removed passed datatable object and pointed to global
Moved parseDataReturn(data, mid) to datatable.js
Readded getDate functions to dateControl.js
They now pull dates based on the datepicker("getDate") call instead of building a date themselves. This allows ease when converting from yyyy-ddd modes.
Moved parseDatareturn(data) to datatable.js
Uncommented weighting function called on ajaxStop().