work on pfraze/phoenix#49

- move EventRouter into lib
- add global click listener to ensure hash links trigger router