Make loadmodel also support wrapping plain functions
Add a test for the new support.
Make pep8 happy
Really make pep8 happy this time.
Merge pull request #540 from girder/loadmodel-plain-func-support

Loadmodel plain func support