Support Slim

I added support for the slim template language

Also I fixed a Capybara deprecation warning