fixed formatting issues, added support for screenshot.py

- Fixed formatting issues identified by PEP8 checker, 
- Incorporated comments from @khandelwal 
- Modified class constructors to include a test directory to store images generated by screenshot.py
hmmm I think this is to write messages to the Jenkins console output window,, @marcesher can you confirm?