Improved support for extensions

- Fixes mattmcmanus/node-helmsman#3
- Fixes mattmcmanus/node-helmsman#4

I stuck to 80 character lines, let me know if you feel strongly about that. :)

I also snuck in a couple of small formatting changes to the output (and updated the tests to reflect that).