silence warnings about AR defining the same modules

@staugaard @morten @steved555 

rails reopens the same module but always sets it again -> shows warnings
it actually still works fine ...

also:
 - keep static methods in a module that we include

### Risks
 - None