LUN-1371: minimized the number of queries when fetching cms pages
* since a site can only have one home page, there is no need for
the rest of the pages to check if they are a homepage or not, once
the home page was found
Merge pull request #11 from pbs/LUN-1371

LUN-1371: minimized the number of queries when fetching cms pages