Updated NavigationExtensions.AddCustomAction to make RegistrationId, CommandUIExtension optional.

Made RegistrationId, CommandUIExtension optional. Null to these two arguments fails to create custom action.