Add legend argument; make legend a <p> rather than a <div>

 - Add legend argument to iplotPXG, iplotScanone, corr_w_scatter
 - Also added function append_legend() to slightly simplify this
 - Also modify the example for iplotScanone to include chr argument