Commits for review: Accepting & Displaying php error incidents/reports.

Commits for review only. Would correct coding standard issues first.