Bug 1023730 - Move modifyLayout() to layout_manager.js +shepherd

In the end, I would prefer we name each page in the layout as "Panels".
Do you think we could do this change in this patch?