Make Rect::is_empty return true when either dimension is empty
Instead of only returning true when both dimensions of a Rect are empty, is_empty should return true when either is empty. This makes Rect much easier to use, because applications rarely want to distinguish between situations where a Rect is empty in only one direction or both. Fixes #109.