Fix deletion of view files after compaction. Also added test for view compaction.
Fix deletion of view files after compaction.
Also added test for view compaction.

Thanks Adam for reporting the issue.



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

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