altered check_dir_file.rb so that it can check for the presence of a list of files/directories supplied using file:/ format rather than being limited to just the one file, handy for checking for indicators of compromise
msf recommended changes + tweaked exception handling
re-added incorrectly removed SMBSHARE option
Tidy up .rubocopy.yml

This alphabetizes the configuration for rubocop.yml and preps for a
rubocop auto-config so we're not constantly hit with warnings.
Add .rubocop_todo.yml
Ignore PercentLiteralDelimiters and WordArray

Per a discussion in IRC, these rules in particular don't
appear to be valuable for Metasploit at this stage.
Also remove the offenses from the todo
Fix post/test/* modules' loadpath

Allows loading when pwd is not framework's install root
See #RM8838. Handle null domain_sid properly

This switches to the local sid if the domain sid is null, even if
the ACTION is set to DOMAIN. This solves the issue identified in

```
[*] 192.168.0.4 PIPE(LSARPC) LOCAL(NAS - 5-21-2272853860-1115691317-1341221697) DOMAIN(WORKGROUP - )
[-] 192.168.0.4 No domain SID identified, falling back to the local SID...
[*] 192.168.0.4 USER=guest RID=501
[*] 192.168.0.4 GROUP=None RID=513
```
Hide icon flash on taskbar during cmd_psh_payload

When 'cmd_psh_payload' is run via 'cmd_exec' on a windows shell that is running in the context of an interactive user an icon will flash very quickly on the user's task bar.  This can be avoided (verified) by adding the /b switch to the start section of the command launcher text.  I have verified that this switch exists from Windows 2000 through Windows 2012 R2.
Fix the makefile to use the right directory

Reported by severos on IRC, the current output
class is in the right place, but the makefile
was broken.
`\t` error msgs bug and some codestyle tweaks

Minor bugs: `\t` were used inside single quoted strings.
Tweak: `a, b = c` is the same as `a = c[0]; b = [1] if c.length > 1`.
Minor tweak: `qwe if rty` form instead of multiline when `qwe` is only one line long.
Minor tweak: thanks to `#{}` interpolation we can omit `.to_s`.
Update sqlmap.rb
Add some small fixes to the MQAC local exploit

* Check for `INVALID_HANDLE_VALUE` when attempting to open the
  device, as this is what is returned when the device doesn't exist.
* Make sure that we only run the exploit against tartgets that we
  support directly to make sure we don't BSOD machines (such as what
  happens with SP1/SP2).
* Add a call to `check` in the exploit code.
Move error messages to `check`
Minor tidies to conform to standards
rubocop cleanup, long lines, etc
Land 3606, makefile typo fix for CVE-2013-2465
Land 3605, hides flash during cmd_psh_payload
uses mult-assign & include? more readable