Added test to ensure rendering feedback loops are disallowed.

Covers the basic case of "Should not be allowed read and write to the same texture in a single draw call". Fixes #702.