add deprecations to glyph funcs on Document
remove document plotting functions
Merge pull request #1499 from bokeh/task/deprecate_doc_glyphfuncs

add deprecations to glyph funcs on Document