Change visit.host value to Origin header because host header is the servers address
Fix misnamed variable in DB query which was causing lookups to fail
Send a synchronous request on beforeunload to capture the page close event
Track the textContext attributes for events
Update visit model to include more accurate event properties
Set timeout on ajax request so page won't hang during unlooad event
Merge branch 'dataRoute' into stable

Conflicts:
	routes/data-routes.js