Revise mutex handling by the sqlite3_win32_reset_heap() function.
Add new test file e_walhook.test.
Fix a typo causing a test error in e_walhook.test.