add support for the latest C++ standard

Thus, people can use some of the new features listed here:
http://www.stroustrup.com/C++11FAQ.html

or here:
http://en.wikipedia.org/wiki/C%2B%2B11

with newer compilers