Restore compatibility with julia 0.2 (fix #125)

`UTF16String` did not exist in julia 0.2

Tests should also work now (note: in julia 0.2, regexes did not use pointers, so I changed the `objwithpointer` to a `BigInt`).