Moved Segment.io snippet outside of if statement, to serve as its own dummy object

Implemented Ian's comment from https://github.com/edx/edx-platform/pull/65#issuecomment-19172768