Move PlotObject and related classes/function to bokeh/plotobject.py