Fix rake tasks so it runs on linux CI server

PhantomJS was hitting the page before OpalServer spun up, failing the rake tasks.  Add a delay if linux.