Introduce nordlicht_error(), which returns a description of the last error

Update the example. This idea is stolen from libgit2. Fixes #24.