Change api::getAds() query to work in MySQL
Merge branch 'master' of github.com:mustardhamsters/reddit.tv