Adapting patches to 2.5

- Changing to 2.5 release versioning
- Requiring classes (no autoloader)
- Replacing ->debugdeveloper by debugging()