make permalinks work properly + fix cukes. make rspec use poltergeist
Merge pull request #495 from enspiral/bug/permalinks

make permalinks work properly + fix cukes. manual cherry-pick of 466