Finish exporting RectangularDetector to Python. Refs #8674
Unit tests for RectangularDetectors in Python. Refs #8674