Update index.js

Pouch.enableAllDbs set to true for Pouch.allDbs to work. ('/_all_dbs')

updated app.all to initiate db even when call has no trailing slash ('/:db')