Bump Slimmer to 5.1

Bump Slimmer to 5.1 to get the new components test version which allows
the tests to pass.

Also let Cabybara see hidden elements so it can see the script tag with
the JSON inside it.