added bin paramater to histogram and modified the emr_data_all api to return a flat array
Merge pull request #6 from amoderate/master

new bin parameter for histograms and a flat array for the data api