fixes #4111 - Add image user data flag to API

fixes #4111 
This isn't very flexible, it should use fragments per compute resource like app/views/api/v2/compute_resources/ so plugins can extend it.