Fixed TreeNavigator: Don't throw exception in GetValue<T> when result is null

Fixed bug in TreeNavigator.GetValue<T> (IDataField<T> field).

Attempting to cast null to T (where T was an enum) caused an exception. This changes Xwt to return default(T) instead.