2.3

first set up upgrades

make it work in 2.3/2.4 again:

- e() to echo
- not using deprecated and removed features anymore
- private to protected (mainly DboSource methods accessed here)

Also:
- PHP4 to PHP5
- Cs corrections