CRM-15678 hookable invalid page handling
Merge pull request #4683 from eileenmcnaughton/CRM-15678

CRM-15678 hookable invalid page handling