gettop: fix symlink detection

Summary: We must use the -P flag for pwd to properly get $PWD from the environment *with* symlinks. Otherwise symlink
detection is broken and anything we do using $(gettop) at the top of a symlinked path won't work properly. I noticed this
issue while running on a system that has a SSD RAID symlinked to my android build home directory, which is ~/ssd_storage.
The top in this instance is a symlink, which means that gettop() returns my home path, or the path above the symlink
directory (but not the symlinked directory). This is a major issue in case developers choose to use $(gettop),
$ANDROID_BUILD_TOP, or $T (doesn't really matter either way).

Test Plan: Create a symlink and sync android source into the path. Open up the symlink, run envsetup.sh, and check
$(gettop) output.

While this isn't the best solution, it fixes an issue without creating new issues.

Change-Id: I65bc345753805e6161098d2af6e0bee0b07d37b1
Optimize Clang

* Use -O3 and disable warnings.
* Make it optional so device maintainers can choose if they want to use it or not.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Change-Id: I984f428022a68a825aa041866e8d459bd6511f72
remove optional if
[WIP] Remove some of the crap nobody uses

Change-Id: I68cc2449728a32d6c263e659cfcb34a82739a335
Remove more crap