Invariant manifolds, global attractors and almost periodic solutions of non-autonomous difference equations.