remove Observer as it's been separated from Rails4
upgrade rails in gemspec, and fix a test