make 1.5 compatible
Merge pull request #3 from jackmcdade/master

Update for Statamic 1.5 compatibility.