added check for :visible on class based targeting
added class demos
Merge pull request #116 from samsargent/master

Check for :visible when using class based targeting