Extract person/org image tag into partial

This ensures that the same image code is used on the view and edit
pages and fixes the fact that the edit forms weren't using the new proxy
code.
Remove unused dependencies

These dependencies are no longer being used so they just add time to the
install and complication when shrinkwrapping or updating package.json.
Upgrade express to v3.17.5
Fix express deprecation warning with app.configure

This fixes the following warning:

    app.configure: Check app.get('env') in an if statement

Where we were previously using app.configure without an environment
specified I've simply removed the configure block entirely.

See http://expressjs.com/migrating-4.html#other-changes for more
details.
Fix express deprecation warning for app.del

Fixes the following warning:

    express deprecated app.del: Use app.delete instead
Remove unused middleware from instance-app

This local property isn't being used anywhere. Removing it to reduce
complexity/line count slightly.
Move test dependencies into devDependencies

These don't need to be installed on the production site so move them
into devDependencies in package.json and remove them from
npm-shrinkwrap.json.
Update dev dependencies
Fix travis builds under 0.8.x
Fix logger options