add unit tests for legacy migration
unit test for interaction between legacy and new event API

- new API listeners can hear old API events
- no other interaction between them
- more docs in unit tests
Merge pull request #77 from biojs/add-core-unit-test-master

add unit tests for legacy migration