Split build and test targets

* Each language can now be built or tested by the ant build
  separately.
Fix Ruby implementation for 2.0

* Solves problem with explicit calls to `ord` for char int values
  which used to be an implicit reference.