Fix duplication of data.

Check to ensure that data is not prepended that shouldn't be.
Update security for hg_laser.
Deal with multiple user roles.
Check if there was a plot made, otherwise *don't* stop listening.
Don't check for head.
Don't log doc.
Use cloudant module to push to db.