Merge pull request #2 from catwell/master

Makefile, rockspec and first test
add close method to sockets
port all tests from catwell/luajit-nanomsg-old