Currently object.ray_cast() is always calculated in object space. This means that if the object has any translation/rotation/scale the user must manually transform their ray start/end to object space. This patch adds the ability for the user to specify that the coordinates which they parse are in world space. The user can specify this by object.ray_cast(raystart, rayend, world_space=True). The default for world_space is False so that any scripts which do not specify it maintain their current functionality.