Changed java tests detection procedure
Fixed android test detection and some spaces in CMakeLists.txt
Merge pull request #3237 from mshabunin:java_test_detection