Generalize get_expliccit_line_number function.

All other variation is using the same underlaying function now.
Fix crash when getting file/line for call_out execution.
Fix comment for HEARTBEAT_INTERVAL in options.h