add virtualenv and pip requirements support to celery resource, better config template