Added function to return image rects

returns the orderedmap of image regions in a Page
Merge pull request #1493 from surya89/patch-1

Added function to return image rects