Add osx sudo password bypass module.
Oops. Sudo pword bypass did not work on 10.8.3
Updates module to use native payload exe or a CMD target.
[FixRM #8319] - Properly disable BLANK_PASSWORDS for ektron_cms400net

In module ektron_cms400net.rb, datastore option "BLANK_PASSWORDS" is
set to false by default, because according to the original author, a
blank password will result in account lockouts. Since the user should
never set "BLANK_PASSWORDS" to true, this option should never be
presented as an option (when issuing the "show options").

While fixing #8319, I also noticed another bug at line 108, where
res.code is used when res could be nil due to a timeout, so I ended
up fixing it, too.
Validate datastore option "YEAR"

The YEAR option is a numeric value, so should be OptInt in order to
go through validation.

[FixRM #8345]
[FixRM #8344]
Fix SessionManager database leak

All database access should be wrapped in with_connection blocks.

Much of this commit is whitespace.  It may help to view it with
--ignore-all-space or the w=0 parameter on GitHub.

[Story #55586616]
Fix a few database leaks

All database access should be wrapped in with_connection blocks.

To avoid breaking git blame with a bunch of whitespace, I outdented
the with_connection blocks as seems to be common in db.rb.

[Story #55586616]
Comment out ctrl-z hax.
Move module to the correct path
Make msftidy compliant
Beautify targets metadata
Add work code
Merge pull request #2 from jvazquez-r7/test_osx

merge in @jvazquez-r7's fixes for osx sudo module
Pass cmd through /bin/sh to set default /Users/joe/.rvm/gems/ruby-1.9.3-p392@pro-dev/bin /Users/joe/.rvm/gems/ruby-1.9.3-p392@global/bin /Users/joe/.rvm/rubies/ruby-1.9.3-p392/bin /Users/joe/.rvm/bin /usr/local/sbin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /usr/X11/bin /opt/bin /opt/X11/bin. CMD and native payloads now working.
Need to set timezone first.
Clean up some code, get CMD working.
Allow cleanup from the new session
Change the command to launch after background the payload job
Make small fixes
Make msftidy happy