Move encodeTimestamps into batman.rails from Shopify.
Tests for encodeTimestamps.
Merge branch 'encodeTimestamps'