Rewrite / to /medic/_design/medic/_rewrite after fail-over.
Merge branch 'dev' of https://github.com/browndav/medic-os into dev