implemented queue purging
documentation for queue.purge
Merge pull request #1 from hunterloftis/purge

implemented queue purging