Get error message on bad clip working

Updated database SQL
Add clip flagging

Errors in report submission now go back to the form with a useful
error message.
Started globalconstants.php for error codes, etc.
Changed some includes to requires. Probably they all should be.
Add singalong field support; change includes to requires