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

[MSP-11046](https://jira.tor.rapid7.com/browse/MSP-11046)

# Verification Steps
- [x] `bundle install`
- [x] Create a resource script `echo "version\nexit" > /tmp/metasploit-test.rc`
- [x] Run the resource script: `./msfconsole --environment development -r /tmp/metasploit-test.rc`
- [x] 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
```