Use `init` hook instead of `constructor` for entities (closes #3)

Simultaneously works around
https://github.com/facebook/flow/issues/186 and adds automatic entity
registration on construction :D