[ujson] Added support for seralizing objects to JSON

- This is accomplished by calling the __unicode__ function on an object.
- Added unit tests to test this change.  It also seems that this should not be
  leaking memory according to the test in tests/tests.py