Remove dependency on sql.php from ConfigManager
Removed dependency of sql.php from Ratings class

Also fixed bug where addons could not be viewed when not logged in
Refactoring in Addon class

* Class is constructed using the DBConnection class
* Removed vote and revision deletion from delete method, this is taken
care of by the db now