Fix memory corruptions.
Merge pull request #18 from crimsonwoods/fix_memory_corruption

Fix memory corruptions.
Follow mruby's latest changes
fix compile error for latest mruby and libuv-v0.10.19
Merge pull request #19 from take-cheeze/compile_fix

fix compile error for latest mruby and libuv-v0.10.19
Fixes build
Add require
Fixes for latest libuv
Use mrb_module_get
fixes negative nread
ditt
enable UV_TCP_IPV6ONLY on version 6
add mrb_module_get workaround for mruby 1.0.0
add libuv builder for non Windows
Merge pull request #20 from take-cheeze/libuv_improvement

mruby-1.0.0 support and libuv improvement.
always call close callback, free ref for GC
remove use of 'context' instance variable
use mrb_class_get_under
use yield instead of funcall
add tests based on examples and fix bug related to it