javelin: implement resource destruction

Checking and creating already exist.
This patch aims to bring resources destruction support.

Change-Id: I9d11db79e10f53a52692ef286323bdb652c42bff
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
Merge "javelin: implement resource destruction"