Feature/rest api

This is almost a complete rewrite of the client adapting it to the new REST API provided by pypln.web.

*Please* review this code. I've been looking at it for a long time and I'm sure there are bugs, as well as possible improvements that I'd like other people to point out.