bug fix
never used class deleted
flush() changed to commit()
Refactoring

- M:N support finished
- improved logical structure of NetteDatabase data source