Add library + tests

All is in the title. This PR will allow us to reuse the code in the widop/twitter-rest & widop/twitter-stream.

For now, it cannot be merged, mostly due to missing tests...