Update readme.
Complete refactoring.

- new API
- refactor all modules
- add tests
Add travis.
Add badges.
Markdown fixes.
Add a close method on apn.