Add a gemfile
Fix file references in specs
Move tinyurl cache check into separate method.

This is so that we can fit the discussion on a single slide, and to make
the implementation invisible while looking at the gratuitous case
statement.