Refactors Admin::PagesController#copy_language_tree and its specs.

Removed unused code in context of layoutpages.