[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 

We decided some time ago not to do that and just briefly state what the fix is about, with no tags either. We can change that of course if we feel the need to