Cleanup batch API's _transformData()

* Move if statements to a switch
* Delete other unused properties
* Document what is deleted and why
Make batch timestamp option

Default to current time
Allow apiKey to be empty if requests are being batched
Compile