README.md: updates README.md; #18
index: supports events; adds warn event; #18
fixes test cases; fixes #18