BounceActions was made a separate class, since used in two classes

BounceActions was called statically earlier, and is used in both the
IMAP handling and the API handling. Hence it was moved to a new class
to furnish statefull call.

Change-Id: Icb56728a93ae5a288de036b77521457a6b71e259