api_v3_Settings - Add testGetNullValue. Fix return of NULL value for pre-fetch fields.

This fixes a bug discovered while investigating CRM-15089.