Make `bp_core_number_format()` a bit more forgiving by allowing `$number` to be empty, and change the `empty()` check to `is_numeric()`.

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