Fixing issue which has crept to LIVE environment which resulted in the
clear input script not firing it's events

There was a change a few weeks ago to the DoughBaseComponents.js, in which
uiEvents were now taken from the config which is passed in when the component
is created. Clear input was not updated to follow this new convention
Merge pull request #773 from moneyadviceservice/clear_input_errors

ClearInput - fixing failed unit tests