added tests and npm packaging

Hi Dave,

I saw your 'first github repo' tweet.

I added some tests and npm packaging to you opml utilities,
these might be useful for anyone looking to use your library.

Now I have to revisit OPML ;)

Cheers,

Dan