Bug 1085620

Add support for emulator-kk opt build.

This PR also setup generic emulator build support.
We should be using the repo tool from within the b2g source directory any particular reason this is installed here?