Adding staging environment
Adding support for staging environment where necessary. Really need to clean up duplicated attachment code.
Updating deploy scripts
Merge pull request #1076 from elzj/issue_3487_staging_env

Issue 3487: create proper staging environment
Add New Relic hook to deploy file, take out Airbrake
Merge pull request #1077 from elzj/issue_3488_new_relic_cap

Issue 3488: Add New Relic hook to deploy file, take out Airbrake
Fixing missing bits of syntax
Merge pull request #1078 from elzj/issue_3487_staging_env

Staging env: Fixing missing bits of syntax