Log reason for non-standard transaction rejection

Conflicts:
	src/main.cpp
	src/test/script_P2SH_tests.cpp
	src/test/transaction_tests.cpp