Update for SiteTree Objects

Hi,

I had massive problems with silverstripe-elastica when using it with SiteTree Objects for various reasons.
It would be nice if you gave me some Feedback about my changes. They work for me so far :)

Cheers,
Fabian