Directory watcher

This is backported from the &yet blog. Basically I just abstracted the file parsing to a single function that the directory walker calls for each file. I then used the wtchr module to watch for changes and call it as necessary, as well as updating the posts array, which then gets emitted back to the server so it can reload what it keeps in memory.