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
@khandelwal you mean like this?
return
(self.strip_trailing_slash(url1) == self.strip_trailing_slash(url2))