Removes db connection sharing between threads and adds database_cleaner

This runs much more stable, also when running in different environments like slow CI servers.
Uses new syntax and correct DOM id for removing tinymce instance.