Correctly trigger reset/cleanup events.

Also restoring the old behavior with heart_beat() etc.
Run IO loop for at least 1 second. reduce unnecessary spin.
Default zero-out newly allocated empty array.

fix #161.
Print out compiler version in make help.
Adding back 32bit compile mode test.

fix #152
Merge pull request #163 from sunyc/master

More Changes for alpha7.4