Issue #1230786 + Issue #1231160: Fixing content_attributes_array in hook_preprocess_node & fixing incorrect 'There are no unassigned regions' on the theme settings UI.