Add -enforcecanonical and -confchange options, rename IsConfirmed() to IsTrusted().

-enforcecanonical=1
Allows user enforce transaction scripts to use canonical PUSH operators, enabled by default.

-confchange=1
Don't use unconfirmed change for transactions.