Backend for Polling (Issue #27)

Hi,
      I have fixed the backend for Issue #27. I have also changed over to REST API. Please review the code.

Thanks.
I would like to get 'resolution' as well.  This way we could get the data needed for the reports: http://54.215.155.53:8080/report.html, although getting resolution will require get_conflicting_bugs() to be modified.