Fix thread-unsafe use of Go string collator

The Collator object isn't thread-safe, so we shouldn't have been using
a singleton instance of it. Instead, wrap it in a JSONCollator struct
and allocate those as needed on single goroutines.
Fixes couchbaselabs/sync_gateway#110