Reformat and remove dead code.
add histogram support

* Add log10 utility function
* Add Histogram model that wraps a dataset

	modified:   web/SynMap_new.pl
	modified:   web/bin/dotplot_dots.pl
	modified:   web/js/coge/utils.js
	modified:   web/js/synmap.js
	modified:   web/tmpl/partials/synmap_results.tmpl
Parse the input explicitly using base 10

	modified:   web/js/coge/utils.js
Hide the histogram default

The histogram will be shown only if the request can successfully
fetch the histogram data.

	modified:   web/SynMap_new.pl
	modified:   web/tmpl/partials/synmap_results.tmpl
Fix bug where dotplot was not being generated

The generate function was being before data had been sent. Add back
step to regenerate plot after the additional layer is ready.

	modified:   web/tmpl/partials/synmap_results.tmpl