[BUG FIX] too many query conditions

Bug fix to #515 

I had to modify a few unit tests since I'm changing the constant `TEST_DATA_SIZE`. The real fix is in `realm-jni/src/io_realm_internal_TableQuery.cpp`.

@bmunkholm @emanuelez @cmelchior 

How about "Fixed a bug not allowing queries with many conditions"