Scoped selector

Added scoped selector support. This uses data attributes so it'll suffer on perf a bit, although looking at this its not too bad http://jsperf.com/queryselectorall-vs-getelementbyid/32