cache a class with the extend module pre-included
use terrible hacks to make this work when rails tries to marshal
replace :: with _ to avoid wrong constant name exceptions
Merge pull request #24 from github/avoid-extension-when-instantiating-extended-association

Avoid extension when instantiating extended association