Check and clean re stats_get_options()

JSON API: Remove stale code not used.

IS: Add function_exists check. If the Stats module was active, then Dev Mode is enabled (via the JETPACK_DEV_DEBUG constant as tested), the Stats module will remain in the active array although disabled by dev mode.

Since it is the active array, the existing check is passed, so this function is attempted. This prevents that.