Add support and tests for heap integration.

segment.io will generate data in its [facade](https://github.com/segmentio/facade) format.

We can define an `identify` function here that mimics the behavior of the current client-side `heap.identify` call - I chose not to implement it yet as it wasn't defined in our server-side API.