Enable C++11.

It bumps requirements for SWIG to 3.0.0, and for compiler.
Merge pull request #618 from DarthGandalf/cxx11

Enable C++11.