Support acitve_module datastore options

See #3302.

To verify:

- [ ] If you're on a module, when you set a LHOST or LPORT, the script should use that.
- [ ] If you're not on a module (that'd be the msf prompt), the script should fall back to framework's options instead.
- [ ] If Nothing is set, the script should automatically set a LHOST and/pr LPORT.