Added new defines for specifying tick mode
Added additional argument (auto_tick) to ei_recv_internal
Only send heartbeat if auto_tick is set to ERL_TICK_AUTO
Added auto_tick support to ei_do_receive_msg
Added auto_tick to existing ei_do_receive_* calls
Add tock function
Seems to work