Misc re #1751: changing Android java's String.isEmpty() to String.length()==0 for better portability since the former is only available on API level 9

git-svn-id: http://svn.pjsip.org/repos/pjproject@4870 74dad513-b988-da41-8d7b-12977e46ad98