ChildList logic fixes

fixed the following bugs:

Calling Array.prototype.indexOf on $oldkids would not work as we were
comparing an element to a clone data structure. Added a comparitor
function to handle the case
Started ids at 1 as 0 is falsy
Fixed a bug in resolve conflicts when there is more than 1 conflict
(solved by making counter the ceil of dividing len of conflicts by 2
instead of subbing 1)
Added a special case for when idx=0 so we can get out of the hacky
resolve conflict case and return to the expected case
Added test cases for childList