support array and NodeList as scope

so i couldnt resist to add support for array/nodelist

my english is very bad so the doc might be not so good :p 

feel free to ignore this PR or implement it how ever you think it would be better