Submodules, OSX compatibility and updated for new libuv

Added libuv and http-parser as submodules. updated loop.h to work with
new libuv and updated the makefile to make compiling on OSX easy