Fix within and contains methods

These methods test whether the entity is within or contains an entity.  For a rotated entity, we should test against the MBR.  I mentioned this in the docs, and added some tests.

intersect was considering the MBR already; I tweaked the variable names to match within/contains and added to the docs.
Merge pull request #489 from starwed/within-contains

Fix within and contains methods to work on rotated entities