Remove deprecated IDetector python method.

Refs #4937
Merge branch 'feature/4937_remove_deprecated_getTwotheta' into develop