Add the option to pass scrypt hash to the submit block test

Added condition to templateregistry.py allowing the choice between sending the scrypt hash or plain hash to the submit block function.

Changed the name of the variable passed between the modules to hash_hex for clarity, as it could be either type of block hash.

Added the option in the configuration file example.