Squashed commit of the following:

commit b40a3a75b684be132046915af321de89191c1a7a
Author: Eduardo Matos <eduardo.matos@blive-ti.com.br>
Date:   Thu May 29 09:45:29 2014 -0300

    remove unnecessary console.log

commit b68828fe53dc09fba5f4c565ff134d82b074e35c
Author: Eduardo Matos <eduardo.matos@blive-ti.com.br>
Date:   Thu May 29 08:28:54 2014 -0300

    fix regression tests on ie8

commit e8553dae947744bb7e0d6991cb46bc9d8d31027f
Author: Eduardo Matos <eduardo.matos@blive-ti.com.br>
Date:   Thu May 15 10:52:31 2014 -0300

    use 'array.some' instead of 'for' loop

commit 6c250e436e02cebc39201ac9592a9b083d5646b1
Author: Eduardo Matos <eduardo.matos@blive-ti.com.br>
Date:   Thu May 15 10:43:24 2014 -0300

    cross browser get all child nodes recursively

commit ad40ac8707fc225747f817c797f29b0f714ba284
Author: Eduardo Matos <eduardo.matos@blive-ti.com.br>
Date:   Thu May 15 09:33:01 2014 -0300

    avoid error on internet explorer

    internet explorer doesn't support the 'contains'
    method on the document object.
    solution: verify if root(element) has parent and is not
    the document itself

commit c278faaa0803dc74ae5a6bfbad8265f56428fe08
Author: Eduardo Matos <eduardo.matos.silva@gmail.com>
Date:   Tue May 13 22:43:49 2014 -0300

    allow id lookup on document fragment

commit d5f5bad40febdaacaaecac1a6d031b44292732aa
Author: Eduardo Matos <eduardo.matos.silva@gmail.com>
Date:   Tue May 13 22:21:10 2014 -0300

    allow id lookup on detached nodes