Update sitemap_generator.rb

Fixes bug where models are part of other gems (for example acts as taggable on).
Update generator.rb
Merge pull request #1 from jontonsoup/patch-1

Patch 1