added results filter to json builds API

Added a filter argument 'results' that allows to filter
returned build by thier 'results' value.
Merge pull request #3 from elmirjagudin/builds-results-filter

Builds results filter merged into staging