(#765) Pouch MapReduce crashes if view doesn't exist instead of returning error.

Currently if a view from a design document is queried but the view doesn't exist in the view. Pouchdb crashed. Following Couchdb's api. It should return an error 'missing_named_view