Validate locking scripts pre-creation.
Add checks to confirm that the library will never create or validate a contract that uses a locking script that is non-standard.
The contract is unable to verify the locking script internally (the check needs to happen pre-funding, not during redemption), but the library can do standardness checks to prevent unredeemable garbage locking scripts.