Move script in config_error.mako to project-dashboard-page.js

Bootbox and raven were not accessible to the script
in config_error.mako. Move to project-dashboard-page.js
and import bootbox, raven and osf-helpers.