Fix weird behaviour of g++ 4.7.3-1ubuntu10 and implement sf::Rect<T>::contains(const Rect<T>&)

Rationale is in commit messages.