Add Model.static_method helper

Review @tleach.
In keeping with the pattern of inverted method binding here, it seems natural to support the "third" type of method for python classes.
I've also taken the liberty of making a few other minor touchups (no-op).