added a hook to discourse plugin allowing plugins to register a new nav item 

via register_nav_item method.

This was a bit ambitious for me, but I think it's an important feature for extensibility.

Mistakenly touched nav_item.js, but I left in the PR to illustrate that I'm a bit wary of tests that write to source code. Is there a better way to test this?