fixes #4111 - Add image user data flag to API

fixes #4111 
this is not portable, e.g. a plugin cant extend / use it.

another option could be to add a method on the compute resource, similar to capability ?