Russia's president Dmitri Medvedev will attend the NATO summit next month in Lisbon - welcomed as a major move towards closer ties with the EU.