Support for BigCouch array-format sequence IDs

BigCouch is now using arrays as sequence IDs; TouchDB didn't format these properly.
Fixes #218.