Revert "Add Question#medium_image_url"

This reverts commit aedb04bd1d8d5ff96a4f20b1871adf03d719f7a1.
Run the after_restart hook with the correct RAILS_ENV
Added a cloudfront asset host to the production config.
Reverted the change in delete_option from the previous commit
Revert "Reverted the change in delete_option from the previous commit"

The problem wasn't in this particular change, deleting an option is not
working anymore.

This reverts commit 3937503f5d52d50241e2ddcadeca0c3647a0ce97.
Fixed a bug with adding sub question, sub cataogry questions
Upgraded Rails to 3.2.11
Added the missing translations for category questions
Update `after_restart.rb` to work across environments.

Squashed commit of the following:

commit c73489acf1f9a82191816e4eeb1b9953405fa127
Merge: 4cd014a 6d368fb
Author: Timothy Andrew <mail@timothyandrew.net>
Date:   Wed Jan 9 16:32:04 2013 +0530

    Merge branch 'master' into delayed_job_hook

commit 4cd014a69cba76c90c418e35e1b8be23f64e7356
Author: Timothy Andrew <mail@timothyandrew.net>
Date:   Wed Jan 9 16:26:02 2013 +0530

    use vars to get current path

commit 5d4d388e9144f8592e8fa0c342df03d651679e17
Author: Timothy Andrew <mail@timothyandrew.net>
Date:   Wed Jan 9 16:21:10 2013 +0530

    Use the correct path

commit baeb40055990ed8bda3617080d650e4810098421
Author: Timothy Andrew <mail@timothyandrew.net>
Date:   Wed Jan 9 16:15:40 2013 +0530

    Try doing env interpolation

commit 9aa8f2ec6657777738ba6ca1edccce48b2fe0fba
Author: Timothy Andrew <mail@timothyandrew.net>
Date:   Wed Jan 9 16:10:02 2013 +0530

    Try figuring out what the environment is
Deleting option now works as intended
Show list responses and reports only if the survey has responses you accessible to read
Don't break the responses index page if not signed in
In Answer#option_ids= don't try doing anything if no `ids` are passed in.
Added missing translations for response edit page
Show the welcome message only when a user is logged in
Revert back to formtastic instead of simple form
Added download excel link to report page
Styled the download excel button on the reports page
Getting the identifier questions to display on responses#index from the survey not from the first response's answers.
Do not send the base64 image when a referrer is available