added Thinktecture.IdentityModel
fixed promise.js
cleaned up library