File ending patch and local.php

Removed all ?> tags from the end of every file. Still trying to test everything but so far it looks good. Also added a local.php file that will hold local definitions like DB info and such.