Fix #2   Replace db_query to db_query_bound

Dropping deprecated database API function db_query()
https://github.com/mantisbt/mantisbt/pull/128