Added React.defineComponentMethod to have an ability to define new methods with needed policy for all React components.