Run resource script files passed to -r/--resource option of msfconsole

[MSP-11046](https://jira.tor.rapid7.com/browse/MSP-11046)

# Verification Steps
- [ ] `bundle install`
- [ ] Create a resource script `echo "version\nexit" > /tmp/metasploit-test.rc`
- [ ] Run the resource script: `./msfconsole --environment development -r /tmp/metasploit-test.rc`
- [ ] VERIFY `version` and `exit` are run: 
```msfconsole`
resource (/tmp/metasploit-test.rc)> version
Framework: 4.10.0-dev
Console  : 4.10.0-dev.15168
resource (/tmp/metasploit-test.rc)> exit
```