Add .node to gitignore
Make sure the hooks dir exists before linking.