Split base_chart#to_js into 3 methods that can be used individually - `to_js`, `load_js`, and `draw_js`.

Rails view helper `render_chart` accepts options with `script_tag` true (by default) or false, and generates JS accordingly.
Fix deprecation errors.
Version bump to 2.3.0.