Add nil extension handler and vice versa

When a file has no extension, still searches for files of the same names
with predefined extensions. It handles cases like Gemfile <->
Gemfile.lock.
Merge pull request #422 from tuhdo/master

Add nil extension handler