Moved some all the functionality relating to Panelizer layouts from oa_buttons to oa_core.