Cleanup spec_helper.rb

* Moved conditional spec setup into separate files
* Will make it easier to add browserstack config
* Also fixed url issues in nginx_spec