nib: allow users to access the controller's nib

Application event handlers already have access to it. However, it's
necessary for monitoring and diagnostics for the application that the
controller's embedded in to access this information as well.
Merge pull request #364 from frenetic-lang/nib

nib: allow users to access the controller's nib