Ensure the distribution endpoint is available for BarChart control

If not, the control will fall back to FieldValueSearch which does not depend
on the distribution. Note this is an upstream issue in Serrano. Once fixed, this
behavior will be reverted.
Merge pull request #297 from cbmi/issue-285

Ensure the distribution endpoint is available for BarChart control