Fixed errors

complete fix log will be in group
Performance fixes

50% done
Fixed all performance issues

all performance issues registered by cppcheck were fixed or commented
for further review
fixed error on #244 in graphDAO

All ERRORS found by cppcheck fixed