Once seen as a terror group by Russia, the Taliban is now being considered as a "trusted ally" by President Vladimir Putin.