Fix bug when lists use two design docs.
Fix bug when lists use two design docs.

The language was being pulled from the wrong doc in the pair. Also removed some
unused variables. Added a test in list_views.js



git-svn-id: c1f8a8ec0b3bb2e99ab3413722f81f687760e79c@826692 13f79535-47bb-0310-9956-ffa450edef68

fkaempfer/couchdb,cloudant/couchdb-couch,apache/couchdb-couch,alanning/couchdb-couch,KlausTrainer/couchdb-couch,ngpestelos/couchdb-couch,smithsz/couchdb-couch,KlausTrainer/couchdb-couch,apache/couchdb-couch,fkaempfer/couchdb,fkaempfer/couchdb,smithsz/couchdb-couch,ngpestelos/couchdb-couch,fkaempfer/couchdb,fkaempfer/couchdb,cloudant/couchdb-couch,ngpestelos/couchdb-couch,fkaempfer/couchdb,KlausTrainer/couchdb-couch,apache/couchdb-couch,alanning/couchdb-couch,alanning/couchdb-couch,cloudant/couchdb-couch,smithsz/couchdb-couch