Bound states in time-dependent quantum transport: oscillations and memory effects in current and density