JDomain: make domain field unique and sparse
JDomain: make domain field unique and sparse

To make sure that we use domain field as unique and sparse:

 mongo > db.jDomains.dropIndex( { "domain": 1 } )
 mongo > db.jDomains.ensureIndex( { "domain": 1 }, { unique: true, sparse: true } )

if we try to add sparse index on it, mongo skips the request since the field
already has an index on it.

alex-ionochkin/koding,cihangir/koding,andrewjcasal/koding,koding/koding,cihangir/koding,andrewjcasal/koding,drewsetski/koding,drewsetski/koding,alex-ionochkin/koding,acbodine/koding,gokmen/koding,alex-ionochkin/koding,alex-ionochkin/koding,sinan/koding,rjeczalik/koding,szkl/koding,rjeczalik/koding,gokmen/koding,sinan/koding,cihangir/koding,rjeczalik/koding,kwagdy/koding-1,usirin/koding,koding/koding,cihangir/koding,mertaytore/koding,mertaytore/koding,koding/koding,koding/koding,gokmen/koding,kwagdy/koding-1,alex-ionochkin/koding,andrewjcasal/koding,jack89129/koding,sinan/koding,andrewjcasal/koding,drewsetski/koding,sinan/koding,szkl/koding,rjeczalik/koding,acbodine/koding,usirin/koding,cihangir/koding,gokmen/koding,gokmen/koding,kwagdy/koding-1,cihangir/koding,jack89129/koding,gokmen/koding,szkl/koding,jack89129/koding,usirin/koding,jack89129/koding,drewsetski/koding,drewsetski/koding,jack89129/koding,koding/koding,acbodine/koding,usirin/koding,szkl/koding,kwagdy/koding-1,rjeczalik/koding,kwagdy/koding-1,szkl/koding,acbodine/koding,alex-ionochkin/koding,gokmen/koding,acbodine/koding,andrewjcasal/koding,rjeczalik/koding,mertaytore/koding,usirin/koding,sinan/koding,drewsetski/koding,alex-ionochkin/koding,mertaytore/koding,koding/koding,szkl/koding,usirin/koding,gokmen/koding,kwagdy/koding-1,mertaytore/koding,alex-ionochkin/koding,andrewjcasal/koding,acbodine/koding,sinan/koding,andrewjcasal/koding,rjeczalik/koding,cihangir/koding,szkl/koding,acbodine/koding,mertaytore/koding,drewsetski/koding,kwagdy/koding-1,koding/koding,jack89129/koding,acbodine/koding,koding/koding,jack89129/koding,sinan/koding,jack89129/koding,kwagdy/koding-1,mertaytore/koding,drewsetski/koding,cihangir/koding,mertaytore/koding,usirin/koding,usirin/koding,andrewjcasal/koding,szkl/koding,sinan/koding,rjeczalik/koding