Make an indpendent test setup for Java tests

Update the tests to run with the new setup
Various test fixes.
Merge branch 'master' of github.com:youtube/vitess
Fixing a couple more things in tests:
- schema was broken by my RPC conversions
- reparent doesn't need special casing, 2m timeout is default.
Move general query functions somewhere that makes sense.
Fix charset handling in filtered replication.