pass emitter as an opt to messages plot function
a bit rough but a start
make message data what we actually get back from api call
cleanup
simplify
Merge branch 'master' into jhbate/messages

Conflicts:
	app/core/api.js
	bower.json
remove repetition of  SegmentUtil
separate out data as messages are separate to device data
first cut basic style for modal
start adding close and comment functionality
cleanup shown thread, comment out adding comment for now
fix for setting the patients team id
Merge branch 'master' into jhbate/messages
changes based on review
async.parallel on data fetch
neaten message box
Merge pull request #42 from tidepool-org/jhbate/messages

Jhbate/messages
Merge branch 'master' into jebeck/tideline-plugins

Conflicts:
	app/components/chartdaily/chartdaily.js
	app/components/chartdaily/chartdailyfactory.js
	app/core/chartutil.js
	app/pages/patientdata/patientdata.js
	app/style.less
change mechanism by which two-week view moves to most recent data