Fixed deprecated functions

As of Statamic v1.7, the Statamic:: functions for getting environment
values have been deprecated. The new Config:: functions have been put
in their place.
Merge pull request #7 from glindner/master

Fixed deprecated functions for Statamic v1.7 (This could break earlier versions)