Added deletion of projects to QHaml
Also added SQL logging