bug 1089782 - retry on mysql deadlock
bug 1089782 - move func to utils package, use on refdata and jobs

Also removed some dead code
bug 1089782 - apply retry to objectstore calls
bug 1089782 - fix bad param usage
bug 1089782 - fix retry limit and add test
Fix comment typo in test_tasks.py
Bug 1090484 - Add support for getting maximum job id for a project
Merge pull request #270 from wlach/max-job-id

Bug 1090484 - Add support for getting maximum job id for a project
Bug 1059686 - Remove excess newlines in test_utils.py
Bug 1059686 - Correct the name of the leak error search term test

The current test is checking the extraction of the search term for the
leak case, not the standard test error case.
Bug 1059686 - Add search term tests for pipe-delimited log error lines
Bug 1059686 - Add tests for the search term blacklist
Bug 1059686 - Add tests for the search term full error line fall-back

Test that the full error line is used as a fall-back search term if no
test name was found, or the name found was in the blacklist.
Bug 1059686 - Add test for truncating test name style search terms
Bug 1091579 - Correct & reformat comments in test_refdata.py
Bug 1091579 - Parametrize test_get_open_recent_bug_right_term()
Bug 1091579 - test_get_open_recent_bug_right_term() should check the bug IDs found

...rather than just whether the count of bugs is greater than zero.
Bug 1091579 - Combine the tests for correct and incorrect search terms
Bug 1091579 - Parametrize test_get_all_other_bugs()
Bug 1091579 - test_get_all_other_bugs() should check the bug IDs

...rather than just whether the count of bugs is greater than zero.