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
Set homeStoreId to download
a
Merge remote-tracking branch 'origin/ruslan-dev' into ivanoff-dev