add Gemfile
Add cache pages to .gitignore
Refactoring/cleanup : whitespace, pull out sinatra-specific stuff, extract url generation, add first spec.
Merge pull request #1 from arnebrasseur/refactor

Refactor