Switch to doctrine 2.5. Closes #7