Show selected auxiliary/post action

**Feature description:**

```show options``` now displays the selected action when an auxiliary module is being used. Previously, it would show only the selected target if an exploit module was being used.

**Verification steps:**

- [ ] ```use``` an auxiliary module with actions
- [ ] ```show options``` and see that the selected action is displayed
- [ ] ```use``` an auxiliary module without actions
- [ ] ```show options``` and see that no selected action is displayed
- [ ] ```use``` a post module with actions
- [ ] ```show options``` and see that the selected action is displayed
- [ ] ```use``` a post module without actions
- [ ] ```show options``` and see that no selected action is displayed
- [ ] ```use``` an exploit module
- [ ] ```show options``` and see that the selected target is still displayed

**Sample run:**

```
msf > use auxiliary/admin/chromecast/chromecast_youtube
msf auxiliary(chromecast_youtube) > show options

Module options (auxiliary/admin/chromecast/chromecast_youtube):

   Name     Current Setting  Required  Description
   ----     ---------------  --------  -----------
   Proxies                   no        Use a proxy chain
   RHOST                     yes       The target address
   RPORT    8008             yes       The target port
   VHOST                     no        HTTP server virtual host
   VID      kxopViU98Xo      yes       Video ID


Auxiliary action:

   Name  Description
   ----  -----------
   Play  Play video


msf auxiliary(chromecast_youtube) > use post/linux/gather/enum_xchat 
msf post(enum_xchat) > show options 

Module options (post/linux/gather/enum_xchat):

   Name     Current Setting  Required  Description
   ----     ---------------  --------  -----------
   SESSION                   yes       The session to run this module on.


Post action:

   Name  Description
   ----  -----------
   ALL   Collect both the plists and chat logs


msf post(enum_xchat) >
```
n00b friendly too

On Oct 8, 2014, at 3:35 PM, wvu-r7 <notifications@github.com> wrote:

> In lib/msf/ui/console/command_dispatcher/core.rb:
> 
> > @@ -3146,6 +3146,12 @@ def show_options(mod) # :nodoc:
> >        print("\nExploit target:\n\n#{mod_targ}\n") if (mod_targ and mod_targ.length > 0)
> >      end
> >  
> > +    # Print the selected action
> > +    if mod.kind_of?(Msf::Module::HasActions)
> > +      mod_action = Serializer::ReadableText.dump_module_action(mod, '   ')
> > +      print("\n#{mod.type.capitalize} action:\n\n#{mod_action}\n") if (mod_action and mod_action.length > 0)
> TODO: Use && instead of and... in everything.
> 
> —
> Reply to this email directly or view it on GitHub.
>