Initial conversion to Segment.io
Fixing naming

I shouldn't commit while I'm sick :(
Unminified segment.io code for clarity and introspection.
Reminified and doc'd.
Merge pull request #2337 from gittip/switch-to-segment

Initial conversion to Segment.io