Red tests for issue #131
Fix the issue #131 with empty files in a gist.
Code style fixes
Handling of the case when file is not found in a gist
Merge pull request #132 from asinyagin/master

#132: pull request Issue #131 was fixed