don't rely on rq.utils.import_attribute

Copied the import_attribute function into the rqworker command so that we don't depend on rq providing that function.

Discussed in ui/rq-scheduler#35