Added Math.nextPowerOfTwo

Part of the glTF branch.