use dojo clip for graphics layers
only swipe when loaded and enabled
add test cases for layer vis
Merge branch 'master' into gh-pages