Implement Rect class to replace SDL_Rect

Closes #950
Merge pull request #952 from dorkster/rect

Implement Rect class to replace SDL_Rect