change tools

1. add codeFormat.sh
2. edit codeCount.sh to count non-empty lines
Merge branch 'master' into freetype
code format