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
show messages
Add JSHint to Travis
Make JSHint task fail in CI environment