Use chrono to gain high resolution time

Makefile.am, configure.ac: Add librt check because some environment such as OSX doesn't have it
(recordTime, getTick): Use C++11 chrono