builds in ubuntu

changes required to be compliant with gcc c++11 or 0x builds
adds codeblocks project

codeblocks project for ubuntu build