GCC 4.8 has arrived

Switched makefile to create debug builds with -Og,
suppressed some new warnings
Enabled -Wall and -Wextra

Made code compliant to Effective C++ style guidelines