Change block author to be 2nd vout/2nd tx for PoS
Change block author to be 2nd vout/2nd tx for PoS

This also uses safer code to ensure that P2SH addresses are not treated as a P2PKH address

qtumproject/qtum,qtumproject/qtum,qtumproject/qtum,qtumproject/qtum,qtumproject/qtum,qtumproject/qtum,qtumproject/qtum