plog api: use an interface

TBH I just don't know what I was thinking.
Refactor to make plog API truly usable

We should be able to write filters out-of-tree with this.
Merge pull request #41 from airbnb/pierre/fix_api

Plog API: something usable (so far)