Core: do `bp_core_register_common_scripts()` inside the WordPress dashboard.

This lets us easily re-use any common scripts in WordPress dashboard screens.

git-svn-id: https://buddypress.svn.wordpress.org/trunk@8647 cdf35c40-ae34-48e0-9cc9-0c9da1808c22