Further work on debugging js display code (fundamental approach is
valid for compound shape data representation)

Added further robustness to Datasource code, flagging datasource
failures to the browser as internal server error(500).

rewrote requests to use constant length timebins.
rewrote binning code to use constant length timebins, with no bin
created for empty times.

bughunting in json and binning code