Support for replication and lucene search for databases with special characters on name

Databases with special characters on name were double urlencoded on replication and lucene search. Added property for unescaped database name.