Replaced Credentials with ICredentials.
Fixed Update/Delete bugs for inheritance.
Added ODataClientSettings.
Implement support for __resourcetype.
Test fixes.
More tests for __resourcetype.
Merged from master.