update the destroy method. unbind listeners by event namespace.

This will be convenient for adding new event bind in the file. Do not
worry about forgetting to unbind it.
Merge pull request #30 from maoziliang/master

Update the destroy method. Unbind listeners by event namespace.