[api] filter released binary results by medium
[api] speed up the released binary search a bit

using a hash to cache product list based on location. It does not cache between
searches yet. So there is more potential, but would need data invalidaten then.
[backend] allow to disable dropping of ftp trees for 13.2/sle12 medias