[GEOT-4705] ImageMosaic Footprint Problem with tiled requests

Please look at the JIRA https://jira.codehaus.org/browse/GEOT-4705.

This pull request ports the modifications from branch 10.x to the master branch.