CalVAD move detector metadata to CouchDB from PostgreSQL