Adding newrelic

Needed to break environments into separate rails environment to be able
to identify the application differently in new relic.
Adding database config for staging.

Should fix the build
Upgrading a bunch of gems

Mostly around rpsec and act_as_taggable.
Also upgraded bundler and puppet from the puppet manifests.
Fixing build.

The capistrano file now needs to be updated in sync with the gem
And adding the newrelic yml file to shared files

This way when actually trying to run the app, the newrelic configs are
found
Moving to https for the puppet forge

This is in the hope it'll fix the deployment
https is not enabled. Fail on me
Upgrading librarian-puppet

This seems to be the problem with the new stdlib forge urls
Merge pull request #140 from ceci/master

Postponing submission deadline
Improving logging in staging and production
Adding debugger for development
Remove filters in development to help debugging
Close #141

This was a miss when upgrading devise a while back.
Passwords could not be correctly reset before this change because devise
now saves an encoded version of the password in the DB and hands over
the original token. Therefore, the token sent in the email cannot be the
one in the DB.
Styling flash boxes per class and ensuring ids are unique

Rails now returns an array of errors for errors[:key] since one can have
more than one error in a single key. So a flash error can contain an
array of values instead of a single value. Therefore, we iterate over
the contents of a flash value in case it is an array and generate a div
per content with an incremental ID and a class to identify the groups.