minor rearchitecture

- restructured to have an internal library (`lib/compile.js`) that could be used indpendent of the command line wrapper.

- pulled the log notification pieces out into a stand alone [log-notify][log-notify] npm package which is included as a dependency

- added lots of unit tests and mock data to test against

- got blanket coverage working (kinda) - fixes #16

- closes #15 - should not cause any problems, as far as I can tell.

[log-notify]: https://npmjs.org/package/log-notify