added BSD license

Conflicts:
	deploy/system/Phire/helpers/debug.php
updates to debug helper
removed die_var from index.php
added doc comments on debug helper
added site_url to common helper

Conflicts:
	deploy/system/Phire/helpers/common.php
added some debug methods to common, removed some ugly formatting