Added new functionality: React.defineComponentMethod

New method React.defineComponentMethod lets us define new methods with a specific policy ("DEFINE_MANY", "DEFINE_MANY_MERGED" and etc.). It provides extra flexibility when you need to have some methods that should collect data and so on.