Added missing errors.cpp to binding.gyp
Added rvalue converter for booleans
Wrote some tests