SS 3.1 compatibility

Hi UC, Have made a couple of small changes to make the module compatible with SS 3.1 beta.

By the way I wrote this little bit of regex (works in Coda) to track down references to static variables if you want to use it to update any other code you have.

Find: ([a-zA-Z0-9_]*)(?<!self)::\$([a-zA-Z0-9_]*)
Replace (if getting, not setting): Config::inst()->get('\1','\2')