Fixed Issue 872 and added coverage.xml to gitignore

Changes in this patch include:

* Add test and implementation for last_polled value being set when importing from Bugzilla
* Added coverage.xml (which gets generated while running the test suite) to gitignore