Move Permission Check Before Style Delete

Move permission check above deleting styles to prevent any changes being
made if any permission checks fail.

- Modify `Page::processArrangements($areas)` to check permissions for
  `canAddBlockToArea()` before starting to update database tables