Add license.
Update devDependencies.
Clean up listeners when scope is destroyed.

fix #2