C++11

Reference #1401.

Change much stuff to use new library.
Add `Using std::chrono::literals;` and you can use `3s` instead of  `std::chrono::seconds(3)`