callback: move to std::chrono instead of boost

- and rm boost::function clashing with std:function
(detected by new clang).
Add C++14 detection and flags

- if compiler detected, compile in c++1y mode.
- override with -Dcompiler_is_c14=ON if not detected.
- compilation in c++1y on clang 3.4 ok on OS X