Updated to export method to allow export of histogram data
Merge branch 'dev' of https://github.com/emoncms/emoncms into dev