Cxx11

Changes to be able to compile with C++11, tested on SLC6, Ubuntu 14.04 and MacOS X 10.9 (Apple LLVM 5.1, ...)