moved plugins into api calls

#10 

This moves `plugin/replicate` into a `server.downloadFeeds()` function, and `plugin/gossip` into a `server.gossip()` function. You can see how the server is setup in `test/server.js`.