fixed visibility of statics for SilverStripe 3.1
replaced accessing statics with Config->get()
Merge pull request #21 from Zauberfisch/2.1

fixed visibility of statics for SilverStripe 3.1