only require sinatra if actionview isn't defined

I'm not sure if others have had this problem, but the gem was failing to load in a rails 4 project because the constant `Sinatra` was defined (I didn't look where). I don't know if there's ever a case where you'd want to require both the action_view and sinatra files, so I just switched it to require sinatra only if `ActionView` isn't defined.