Added some dynamic tricks for static pages with tests.  updated Gemfile.lock for Heroku