sink-bin: remember wheter a profile worked and add api to query it

This new api can be used by the UI to gray out profiles that miss we miss the
elements for and by the tests to skip them.