Proper Sphinx implementation, stage 1
Updated db.php

(cherry picked from commit f8d2afba9097167a5b827b8efd0befa5654a25b3)
Merge remote-tracking branch 'origin/dev' into dev
Updated releases.php to insert nfostatus, nzbstatus, isrenamed, searchname, requestid and prehash.