Add symlink support (Fixes #42)

It's missing the option for relative symlinking, but this should hopefully do the trick for now. Merry Xmas!
Not a fan of `lib/common` - would much rather just have `lib/prepareWrite.js` which exports a function.