Implement __call__ for @spool* decorators.

Also removed duplicate code and moved uwsgi module import per PEP 8.