Feature/add specs for module search filter

## RM #4790

### Description
- Adds 237 passing specs for search_filter.
- Adds support for matching by type:nop, type:payload, type:encoder

### Verification:
- [ ] Test the new functionality:

        msf > search type:payload   # should return all the payload modules
        msf > search nop                # should return all the nop modules

- [ ] Run the specs yourself:

        rspec spec/lib/msf/core/module_spec.rb