fixing sql to be prepared statements.
Merge branch 'sql-changes'

Conflicts:
	airtime_mvc/application/models/StreamSetting.php
	airtime_mvc/application/models/Subjects.php
CC-5121 :fix some SQL statements not being escaped/prepared
CC-5121 : fix some SQL statements not being escaped/prepared
Merge branch 'master' of dev.sourcefabric.org:airtime
CRLF fix