pootle_store: Move Unit cache logic to its own file

rtl