FIX: FileCatalog interface

The compatible metadata lookup was broken (takes 2 arguments). Fix also path usage.
FIX: pagination

The total number of elements was not the total number of files fitting
te query, but only the length of the page: no second page...
Merge pull request #151 from sposs/patch-3

FIX: FileCatalog interface