.bash_aliases: update ccache functions
.bash_aliases: update ccache functions

1. Change Android root check mechanism from detecting ".repo"
   directory to "build/core/envsetup.mk" file as android top.
2. Add executable permission check.
3. Add error return code.
4. Slightly code flow changed.
5. Some minor cosmetic fixes.

goldie-lin/dotfiles