Add retry to celery task

Messages do not always get delivered. Built in a retry when message is not sent.
Max retry count could also be a setting.
Merge pull request #41 from pinda/master

Add retry to celery task