Provide a retry mechanism for the slightly unstable tests

Certain tests will fail a minor percentage of the time. A retry
feature will help with the sporadic failures.
Merge pull request #303 from zanata/test-retries

Provide a retry mechanism for the slightly unstable tests