actionClassName can be a callback

A fix for Issue #10. 

actionClassName can be a callback that is passed the corresponding model as a parameter.