History server fixes

Install the mapreduce bits on the resourcemgr container and expose the history server ports.