Don't use nth-child with capybara/nokogiri

Depending on which version of libxml2 nokogiri was compiled against,
the nth-child selector can be unreliable. This is resolved in nokogiri
1.6 onwards, but until we can use that (slimmer is locked to 1.5),
these fixes get the build green again on vanilla Mavericks.