getReviews to HQL
getPurchases to HQL
getDownloads to HQL
get rid of it db connections
Merge hql into ruslan-dev

# By akarimova
# Via akarimova
* commit '71c23fd561e6f1307b602ace5d0b4d3689a9a338':
  get rid of it db connections
  getDownloads to HQL
  getPurchases to HQL
  getReviews to HQL