Added some ObjectExtensions and the new TypeExtensions with tests.