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
Merge pull request #268 from mozilla/mysql-retry

Mysql retry