Added c++11 support in a so-so clean way.

TODO Enforce min compiler version to e.g. gcc 4.6 and/or clang 3.0.
Cleaned a bit the CMake scripts
Added hasHessian flag in the QProblemB of the embedded qpOASES
Simplified the build system
Removed kinda obsolete CPU flags stuff for CMake