Add/export create_signature for API consistency, stub in deterministic.

This does not change script logic. The objective is to expose a useful API for tx signature validation, that was previously private, and to provide a symmetrical signing API. The subtlety of managing the sighash type byte on the EC signature should not be exposed to the most API callers at this level, and these calls accomplish that.