Get option value from DB (or from cache if available). Return value or $default if not found

@since  1.7.3
@param  string $name     Option name
@param  string $default  Optional value to return if option doesn't exist
@return mixed            Value set for the option