Did Nagato develop his powers on the spot?
No. He developed them prior to this encounter.
Yes. Yahiko's death put him in a world of hurt which, in turn, triggered these new powers.
I can't really say, although that statue he pulled out was pretty official.
Vote
View Results
See this poll on:
https://poll.fm/1628498/embed