Added archive existence check before creating it.
adjust CM_Service_MongoDb::findOne() docu
split mysql and mongo db setup
use listCollectionsNames() instead of getName() on listCollections() to list collection names
Use fallbackToDefault in CM_Frontend_Render::getTranslation
added CM_Service_MongoDb::findAndModify()
Merge pull request #1413 from alexispeter/mongodb-adjustments

split mysql and mongodb setup code
dont return early
re-add if
Merge branch 'master' of github.com:cargomedia/CM into issue-1414
fixing test - add mock for getLanguage
add test to cover all cases of getLanguage
only run setup-scripts if mysqldb and mongodb are empty
split tests in multiple parts
add test to render welcome mail with translated language key
Merge branch 'issue-1314' of github.com:cm-jan/CM into issue-1417
Add CM_Model_StreamChannelArchive_Video::findById($id)
Replace direct sql query with findById()
Make CM_Model_StreamChannelArchive_VideoTest::testFindById independent of channel->onUnpublish
Simplify testOnUnpublish with findById, make sure archiving can be run multiple times