Merge pull request #1 from murrekatt/master

Added -std=c++11.
Merge pull request #2 from murrekatt/master

Fixed c++11 to correct place.
Merge pull request #3 from murrekatt/master

Adjusted to use -stdlib=libstdc++ for linux.
Upgraded to gcc 4.8 for Travis CI and boost 1.53.