Removed some unused functions from sql.php

Removed sql_get_all()
Removed sql_remove_where()
Removed reference to sql_remove_where() from Addon delete()