Add toString method to user deinfed classes

I added toString method to use defined classes. This patch requires https://github.com/jubatus/jubatus-java-client/pull/9