[#39] Analyze only ruby files

When we excute analyzer against non-ruby files there will be massive
amount of false positive errors. Now only files with '.rb' extension
will be tested.

We need to also consider bin/* files. These files are often ruby files,
but does not have an extension.
Merge pull request #40 from X8/39-ruby-files

[#39] Analyze only ruby files