add optional accessor function argument for bin

Allow complex data to be binned by passing an accessor function to bin.

	modified:   src/histogram.js
add histogram to the bioplot module namespace.

	modified:   src/histogram.js