Change reference type declaration style.
Drop unused exception class.
Replace typedefs by type aliases.
Use scoped enum.
Add libpthread to test dependency.
Use -std=c++11 option instead of -std=c++0x.
Bundle Eigen 3.2.2.