How to determine the last 1k blocks and their Miner Software?
How to determine the Software (Core, Classic, XT, etc.) and quantity
  on the whole network?


connect to host and take the 'user-agent' string from 'version' packet


  How to determine the last 1k blocks and their Miner Software?


the miner can be determined by analyzing coinbase transaction.

the software can not be determined