added results filter to json builds API

Added a filter argument 'results' that allows to filter returned build by thier 'results' value.