Template bugfix and cleanup

Pulled "getFilledTemplate" out of __toString(), ensure that __toString()
never throws an exception.
Added some docstrings.
Update README
Removed some unused functions from sql.php

Removed sql_get_all()
Removed sql_remove_where()
Removed reference to sql_remove_where() from Addon delete()
Fix DEBUG_MODE constant use
Merge pull request #7 from stephenjust/master

Fix template bug, doc changes to help GSoC students get started, remove some unused sql code