metadata : getVal added default value, new method to set/update a metadata
Added method to get sale stats on a product
Fixed domain to use core if null
Merge pull request #913 from bibich/improvements

Improvements