Quantum measurements in continuous time, non-Markovian evolutions and feedback