Bug 1085620

Add support for emulator-kk opt build.

This PR also setup generic emulator build support.
I guess B2G build scripts search for repo tool in the `$PATH`, no?