DM-518: improved CSS exceptions. Small bug fixes.

* Removed unnenecessary exception translation in CSS.
* Fixed bug: same db name passed to createDbLike() was causing the function to deadlock.
* Fixed ifdef names
Merge branch 'u/jbecla/DM-518'