add excluding function to screenshot module and some improvements.
pull from upstream
pull request #27: add improvements, worked on comments for pull request. fixed tests
#27 increase waiting time in test. seems to be too fast.
#27 change dublicate identifier in test. conflict with another test before.
Merge pull request #27 from sebastianneubert/master

add excluding function to screenshot module and some improvements.