Fix error with no settings and wrong dsn

Fixes:
 - Php 5
 - Error when there is no settings.
 - Raven as git submodule.
 - Wrong DSN do not throw exception all the time (probably there should be added some message that your dns is wrong)