Add optional CSRF protection.

Protection is automatically enabled under Omeka 2.2.2 or later.
Remove unused deletePageAction.
Fix previous/next page link generation.