added Makefile
fixed some warnings
made Makefile aware of debug/release builds
fixed scalar product and norm2() overflowing for vec
chunkloader now reads thread safe from player
Merge branch 'master' of git://github.com/Backson/3dgamecpp