Bitcoin-Qt: extend some checks for valid model pointers

Conflicts:
	src/qt/sendcoinsdialog.cpp
qt: add vout index to transaction id in transactions details dialog

Conflicts:
	src/qt/transactiondesc.cpp
[Qt] Fix Transaction details shows wrong To:

Conflicts:
	src/qt/transactiondesc.cpp