Created an equals method for the rectangle object.
Adding proper hash code method to Rectangle so that the equals method functions appropriately.
Improving equals to by using Float.floatToIntBits
Cleaning up JavaDoc comments.

As to follow the file's javadoc style (see toString above), I remove the @Override marker.
Merge pull request #1981 from MadcowD/master

Rectangle: Equals and HashCode