don't send emails from staging
Only send notification outbounds in production

If we implement notifications outside of ActionMailer, this ought to catch
unwanted ones from passing through on dev/staging.
Merge pull request #474 from sunlightlabs/envcheck

Only send notification outbounds in production
Fix query in comments controller
Update notification_outbound.rb

More robust condition and error checking for sending notifications.
Raise ActionMailer delivery errors in staging
Update user.rb
Put statement in email delivery
Loop through legislators more sanely in first part of sponsored_bill_stats.

The first of what's likely a few optimizations of this script
Merge remote-tracking branch 'origin/beta' into beta
sponsored_bill_stats optimized to be much faster and use significantly less memory
first implementation of new privacy system
privacy working + tests
cleanup and documentation
privacy made more robust and shifted code around to have better locality and scoping
change self to user after change to class method
tests pass, minor refactoring and cleanup
Report to Sentry from ImportWorkerQueueJob
rails 4 refactoring, organization, and cleanup, part 1
Adjust top_search_terms to not turn large ints into large int.days

That way we won't try to query dates in the BC range.