fix the main part of issue 11 - delete selected messages.

git-svn-id: https://svn.apache.org/repos/asf/james/hupa/trunk@1522212 13f79535-47bb-0310-9956-ffa450edef68
fix AllDelete feature in issue 11. and scrub some code

git-svn-id: https://svn.apache.org/repos/asf/james/hupa/trunk@1522214 13f79535-47bb-0310-9956-ffa450edef68