engine: Remove unused code from CommandBase.

Private methods getAsyncTask and internalGetTaskType aren't in use.
Thus were removed.

Change-Id: I5c85e76d53a1bcaa830815c212102bd8d198cd9e
Signed-off-by: Yevgeny Zaspitsky <yzaspits@redhat.com>