Quantum Memories. A Review based on the European Integrated Project "Qubit Applications (QAP)"