many, many fixes; added demo site in dummy-rails-app