Fixing to psr and setting default value of dir
Merge branch 'patch-1' of github.com:aequasi/DoctrineBundle into patch-1