Use c++11: to use a 'override' keyword

These commits gives a way to enable C++11 mode on the compiler.
And a override keyword is added to override methods. If the compiler
is working in normal (C++03) mode, the keyword is replaced with empty.
As a result, these code can be built both with and without C++11 feature
of the compiler.