Remove ApiMockDefaultImpl.

I liked the idea but it’s too complicated.
Loosen value check for global mock flag.