Merge pull request #577 from greezybacon/feature/signals

Implement a simple signal (event) architecture

Reviewed-With: Peter Rotich <peter@osticket.com>
Remove trailing line in MySQLi file
Add test to find leading and trailing whitespace