Better support for custom doctrine persistance driver

Should close #27