Updated the provider schema to use a DefaultFunc

This makes testing easier and gives you a way to configure the provider using env variables. It also makes the provider more inline following the TF 0.2 approach.