Bunch of fixes

Fix some project properties (gitignore, target sdk...)
Fix problem regarding sorting string set mixing upper case and lower case first letter
Anecdotal style change regarding some loops