Update retab util

For `retab.rb`, Instead of just relying on a filename of *.rb, use a file utility to determine file type.

For systems that lack 'which' and 'file', fall back to filename matching.

This is useful for retabbing things like 'msfconsole' that don't have a .rb extension.

## Verification

This will demonstrate that retabbing works sensibly for .rb files, files that do parse out as Ruby, and will avoid retabbing non-Ruby files.

### Check that files that parse out as Ruby get retabbed:

 - [x] In the framework top-level, `tools/dev/retab.rb msfconsole`
 - [x] See the return message, `Retabbed msfconsole`
 - [x] `git checkout -- msfconsole` to avoid committing a retabbed msfconsole with this.

### Check that files that end in .rb get retabbed (assumes it's ruby and doesn't bother testing)

 - [x] `echo hello world > test.rb`
 - [x] 'tools/dev/retab.rb test.rb`
 - [x] See the result message, `Retabbed test.rb`
 - [x] `rm test.rb` to clean up your top level dir.

### Check that files that are not  parse out as Ruby get retabbed:

 - [x] `tools/dev/retab.rb data/vncdll.dll`
 - [x] See no return message.
 - [x] `git status data/` to see that there are no changes.

Once this PR lands, @tabassassin can then retab all of Metasploit without having to name specific files or directories. This will pick up spec, top-level utilities, external libraries, data, etc.