move can_refund and can_cancel sql scope to database function
Merge pull request #399 from devton/backer_sql_refact

Enable support to youtube videos [Fix #53189815] and refact can_refund and can_cancel backers scope