Updated support for ruby 1.9; updated API classes to version 823; allow max='unbounded' for built-in types