Add an experiment with using a texture for tests.

Using an option for now so it's easy to test, if it works well we can
maybe remove the option.
Actually cache the last bound test texture.
Skip binding when the test won't be used.
Use a more logical name for the test tex creator.
Merge pull request #6853 from unknownbrackets/testcache

Cache fragment test results using a texture