Properly handle null diagnostic contexts.

This fixes #2 by operating on an empty map if the underlying library
gives back `null` instead of an empty map when the underlying context is
empty (or uninitialized).
Identation.
Better deal with branches and pull requests.

Don't publish unless it's on master and not a pull request.