Initial Pulsar support.

Currently this uses a library in lib/ - This'll be replaced by a Maven dep down the line.
Add formatter and reformat.