Adding support for fauxton behind a rewrite in a couchapp