Fix Fauxton dependancie issues

I've modified nv.d3 to be an amd module. This isn't pretty but it's the
best fix, otherwise we cannot use this library.

I've also added a new config in settings.json.default for couchapp
deployment as the current release config doesn't work with a couchapp