Allow only current users and orgs to receive emails.

To do: add integration test.  Yeah!
https://www.pivotaltracker.com/story/show/43674837
Also probably fixes https://www.pivotaltracker.com/story/show/40460943
Merge pull request #1 from SouthArts1/mail-to-disabled-accounts

Allow only current users and orgs to receive emails.
Merged Rails 3.2 branch into master.
Merge branch 'develop'

Rails security update, fixed admin organization users page.
Link to NSIC info opens in new window

https://www.pivotaltracker.com/story/show/47664155
Installed gems and configuration for Heroku Cedar.

Cedar doesn't automatically add these to our app like Bamboo did.

Conflicts:
	Gemfile
	Gemfile.lock
Set up Procfile for Heroku process management.

.env contains environment variables to simulate a Heroku environment in
development. It should not be checked in (because it's for dev only).
Disabled the asset pipeline on Cedar.

We weren't actually using it, but on Cedar we got error messages when
precompilation failed. Disabling in the hope that we won't get error
messages.
Maybe fix "no such middleware" error on Heroku.

Heroku couldn't find ActionDispatch::Static when precompiling assets,
because AD::S is only included if serve_static_assets is true. According
to someone on Stack Overflow, Heroku overrides this configuration
anyway, so we might as well turn it on and avert the error.

http://stackoverflow.com/questions/7824570/heroku-conflict-between-gzipping-assets-and-precompiling-assets
Try again to prevent precompile error on Heroku.

Heroku says it won't try to precompile assets if there's already a
manifest file, so I made one.
Merge branch 'cedar-no-pipeline'

We're live on Cedar.
Changed hard-coded Airbrake API key.

Not sure why it's hard-coded, but I go with the flow.
Added logging to try to diagnose payment errors.
Trying something else to get log output on Heroku.

http://stackoverflow.com/questions/5994492/heroku-debugging
Still more payment logging.
Maybe logging by `puts` works?
Log via puts.

No patience to figure out why Rails.logger is not working.
Use billing zip code for credit card transaction.

Duh. Also, don't silently and without qualification `rescue` expressions
that can't under normal circumstances raise exceptions. (Not that I'm
fixing that right now.)
Removed log call that caused an error.
Don't use SendGrid in test and dev environments.