Some DXRuby refactoring
  - New error class
  - Bug fix in wrapper generation code
  - 2 more test cases