Emulate faceforward(float, float, float) when function emulation is enabled

This causes aborts in some versions of the Apple Intel driver.

Change-Id: I9dadb0eebc6ca57c1892737b62f3ad94d4e1c7dc
Always use D3DPOOL_DEFAULT for D3D9 textures.

There is a bug on XP (non-D3D9Ex) where we'd select
MANAGED in getTexturePool, but trigger a crash in Image9::copyToSurface
where the source pool is SYSTEMMEM, but the destination pool is
MANAGED.  It expects the dest pool to be DEFAULT if the source is
SYSTEMMEM.

This is triggered by the texture-size WebGL conformance test.

Change-Id: I44c39eabb695e2d2f8fba7c582b63c2ff23bde26
Add gyp_mozbuild and associated build machinery for generating moz.build files

Change-Id: I05449681c021dc1e8fc9d618572c666aece99f54