Checking for defines for WP.com credentials.

Adding a check for a `defined()` WP.com credential in the dashboard code.
This allows users to put their api credentials in wp-config so it is not
lost if the db is purged.

The keys are `DASHBOARD_WP_CLIENT_ID` and `DASHBOARD_WP_CLIENT_SECRET`.