[WIP] PEP8 + Other Fixes

Again, another WIP pull request. This is built upon the work over on wickman/compactor#2.

- PEP8 everything (agree or disagree?)
- Started work on very basic framework registration / master detection

#### TODO

- Flesh out master detection more, solidify how it's going to work with something like ZK
- Fully implement all of the scheduler callbacks/events and methods
- Plenty of other stuff, no doubt