Update gemspec to rails 4.0
Replace deprecated AR dynamic finders.
Changes scope declaration to have explicit named paths prefix
ActiveRecord models automatically set site on creation