Pass simulation callback as std::function.

As side effect, rensa_detector_inl.h is removed and merged into rensa_detector.cc.