Removed some duplicate implementations for finding the bounding rect or box of a set of points.
Added some utility functions to bounding box/rect objects for use on the web server.