Use unittest.mock if available.  Closes #381
Merge branch 'master' of github.com:celery/kombu
SimpleQueue removes messages from the wrong end of buffer.  Closes #380
Tests passing on py3
Tests passing on pypy