added preferences
using gateway to send event
Merge pull request #21 from rc1/feature-pingurl

Add ability to send Tracker events to a URL.