Allow templating at time of loading contract

So that contracts/examples can have load-time variables like environment specific values.

If a file ends with .erb, compile the template when loading the contract.