unittest skipIf() decorator

We've had a decorator to skip tests on travis for a while and only one test using it.  This standardizes the decorator a little better so it can be reused.