first converting attempt made by ErikMinekus

(cherry picked from commit 08dd4de4b7779f0c08704aa7e864bd77bbd3facc)
changing sql-table schema

(cherry picked from commit cb9084d4b4caf22a29bed421b1bdbab45f0832a6) (only php code, not plugin)
Conflicts:
	game_upload/scripting/sourcecomms.sp
Add comm's type option to search

(cherry picked from commit 144a9cdb682a1b9efaeeadfafaf38b476ee723fc)
Merge branch 'develop' into sourcebans2
remove unused file
changed plugin link to github
changed sql indexes
Merge branch 'develop' into sourcebans2
getting server ip from sourcebans plugin
getting serverID from sourcebans
store serverIP locally
rename adminIp->sAdminIP
moved some code from database connect callback to sourcebans callback
fixed serverID checking
using sourcebans SB_Connect function to check db status
using SB_Query instead of SQL_TQuery
using SB_Escape instead of SQL_EscapeString
removed direct database working code
enabled debug and queries log
using steam account id and admin id instead of steamid