dev_env. Fixes to bash code.

Add gradle home environment variable.
Fix android home environment variable.
Add android ndk home environment variable.
Use android environment variables when adding android tools paths to path.