fix(cid validation) fixes not adding components with same cid

Dispatches the error event when component with same cid is added. 
Added remove method on core/obj to remove keys(string or array whichever is passed in).

Plus tests for,
Event being fired when there is duplicate cid,
Event not fired when id cis unique, and
Duplicate cid components is not added.
Remove method tests, etc.