Make URL patterns to exclude from tracking configurable

* Add unit test coverage for this "exclusion from tracking" logic
* Exclude based on regex match instead of raw string comparison
* Exclude heartbeat requests from tracking
Merge pull request #925 from mulby/fix/gabe/configurable-tracking-filter

Make URL patterns to exclude from tracking configurable