Add test cases for pyfilesystem service in XBlock (filethumbs), and a PEP8 cleanup.