Adds a generic method to register a command type callback.

Adds a generic method to register a command type callback. Just a shorthand to the actual methods but it saves a couple of typeof() calls. Instead of writing : 

    Commands.Register(typeof(MyCustomCommand), MyCallback);

You can type :

    Commands.Register<MyCustomCommand>(MyCallback);

Same thing for Unregister