added reload on select checkbox to the test program
Fixed the way patterns work and removed bad code from SVGUse.
Now patterns have normal refernce to another patterns. Previous code was producing strange and hard to reproduce bugs like having document==null while validating elements.