rebar_xref: regressions fixes and updates for a5be40c96

- update rebar.config.sample accordingly
- update 'help xref' string accordingly
- restore support for "rebar help xref"
- simplify new/changed functions by breaking out code or
  using simpler syntax where applicable