Ehancement #2365 : Add markup root directly in ReactMount cache

@syranide Could you check this ?
I wanted to add checking on node parameter because we need a HTML element, but I'm not sure if this is the best way of doing this.
Also, if this okay, I might write some test for ReactMount.cacheNodeById.
I struggled with this because I don't know what kind of object is newNode. So I don't know how to access to the id of the new node.