Change all occurrences of _rect and _bounds Rectangles to _fillBounds and _lineBounds BoundingBoxes

Part 4 of the grand "we change all the rectangles to internal representations" refactoring.

Also adds verification code to BoundingBox, ensuring that all properties are integers and (currently disabled because of bugs in using code) that *Max > *Min.