[tutorials_common] Add Encode and VPP response handling in _simple_free
[tutorials_common] Add Encode and VPP response handling in _simple_free

Fixes #1984

Signed-off-by: egorovdanil <fdb0d13dbf420057c2c5de9e049d47e046f51c3a@intel.com>

Intel-Media-SDK/MediaSDK,Intel-Media-SDK/MediaSDK,Intel-Media-SDK/MediaSDK,Intel-Media-SDK/MediaSDK,Intel-Media-SDK/MediaSDK