Improved consistency of the C++ standard used for the builds
- added the possibility of using c++1y for gcc 4.9
- enabled the correct standard for
- MySQL
- Qt 4 (with some fixes)
- Boost (added c++1y)
- CLHEP (added c++1y)
(restored changes from merge request !20 (merged))