applying C++ patch from @monaka to support C++ bool type; close #1019
Merge branch 'master' of github.com:mruby/mruby