Implemented sorting with sort_translations view.

Generated key in sort_translations view is an array with first key being searched namespace part, while second is key with namespace.

PS: Changed endkey lastCollationKey() to \uFFF0, because CouchDB 1.3.0 does not work with \uFFFF and returns empty result (while 1.5.0 works).