CScript::IsUnspendable method

Upstream: ec84e81e8383b3b1e1ef4a6dbcb088193d8de5d7

Conflicts:
	src/core.h
Skip unspendable outputs in consistency check

Conflicts:
	src/core.h