Cleanup some .length() calls for Strings, EditTexts etc. Increase minSdk for catroidTest project.

See commits for more details.