Implement million second level gametick loop.

Part of #203, also deleted HEARTBEAT_INTERVAL in options.h
Add two runtime config, gametick msec / heartbeat interval msec.