added support for npm modules

Gists from specific users can now be queried using getGists(user,
callback) on client side. This isn't necessarily useful now, but will
be soon when there are user accounts and such.