make trashbin compatible with objectstore

replace glob with search in cache,
make unknown free space work like unlimited free space

fixes https://github.com/owncloud/objectstore/issues/12
cc @jnfrmarks @schiesbn