Issue #4313: Prevent WSOD when a term is deleted.
Add behat test for deleting a term assigned to a page.
Fix typo.
Merge pull request #4479 from openscholar/4313-1

Prevent WSOD when a term is deleted