Various DB relations fixes
Project screen enhanced
- added events log for selected project
- task by type counted, still needs better display (bars! :D)