address comment by @LudwigOrtmann - fix problems with flags for c++ by deriving from CFLAGS
(removed CXXFLAGS, added CXXUWFLAGS and CXXEXFLAGS, fixed RIOT/Makefile.include)
address comment by @LudwigOrtmann - fix source code to comply with coding conventions and move applications to examples folder