Updates to PSR-0, doctrine2, personal framework

- Now using Doctrine2 ORM by default in my projects, thus updating
DatabaseEntity to update their entities
- Removed databaseTreeEntity in favour of the much more advanced
Doctrine2 nested set implementation
https://github.com/blt04/doctrine2-nestedset
- Using PSR-0 everywhere: My personal library goes into a main core/
folder, others go in vendor.
- Updated HTTP to make life easier
- Removed lib.php autoloader: please use PSR-0
- Added a controller which is used in combination with bramus' Router.
Naturally controllers inherit from this class.