Function spaces, time derivatives and compactness for evolving families of Banach spaces with applications to PDEs