ENH/BUG: unify rank computaiton and add better support for SSS filtered data

@agramfort @Eric89GXL @mluessi FYI
No, `proc_records` is the name I used in my PR, @agramfort said:

"I would rename proc_records to proc_history"