cleanup header dependencies; dpb should not need encoder.h
search: store rd costs in first pass through intra modes

no behavior change, this is prep work for further refactors
search: don't pass top-level encoder to initSearch()

removes three Encoder members that were only used to communicate data to
initSearch()
analysis: nit