RSpec 3 and PhantomJS

Upgrade RSpec to 3 with new expectation syntax. Replace Selenium with Poltergeist (PhantomJS) for headless browser testing (using Selenium is still optional).
Line 17 maybe we should remove the selenium part or to have selenium easily as an option... (now the gem is commented out)