Update syslog.cc to work with node 0.10.x

I don't know too much about node bindings, but the new addons api says you need to export your init function like this. Working fine for me on node v0.10.13 after a rebuild.