Move a common query into a private method, later to be moved into model layer
Moved site has page check into private method, to improve readability
Refactor reorder pages into a private controller method, reorder_cms_pages. Prep for moved method into service layer
Merge pull request #479 from macarthy/refactor-pages-controller

Refactor pages controller