Fixed #18670 -- Fixed collection of shadowed test cases

Conflicts:
	django/test/simple.py

- Improved collection of both test cases and doc tests. Prevent models from
  shadowing same-named test cases.
- Added test for build_test