Set up Segment.io

Previously, everytime we wanted to add a new monitoring service to the
application we would have to add another snippet, which was proving to be
cumbersome. Segment.io has been added so that we only need one snippet for all
monitoring services.

https://trello.com/c/lLzZEqTb