cache pool pieces

>@liewegas wrote:
>some refactoring
create whiteouts
clear whiteouts on overwrite
ignore_overlay flag
cache_evict
cache_flush

This series is built on top of wip-tier (#848) and should be merged following that one.