Mocking the SlideShare API during CI builds

Also added 2 extra tests for SlideShare API failures
Fixed linting issue in previews test
Added the ability to check whether we’re running an integration test
#915 - PR follow-up
Merge pull request #915 from simong/slideshare-intermittent-failure

Intermittent slideshare failure
Using oae-rest latest