fixing image function in widgets, more fixed tests
more doc on lineGraph function
documented barchart, and fixed grouped bars
Mostly cleaned up and changed formatting in widget-base

Changed { placement to my preferred style to make it easier for me to read.
Merge remote-tracking branch 'refs/remotes/upstream/master' into widget-refactor