do not print chartDiv if it is NULL (useful when chart.html contains the div, e.g. 512paths)
test if sending functions in the payload works.
replace p$show(T) with just p as static = T by default.
initialize LIB for NVD3 and Polycharts
big refactoring of rCharts Class

- add LIB as field to support ext libraries
- add srccode as code.R while publishing as gist
refactor showOutput
add get_lib and refactor get_assets in utils
change class to .nvd3 in rNVD3.css
change cdn links for polycharts
comment out p1$show(F) so file can be sourced without a server opening up.
refactor toJSON2 and add toJSONArray2 (to replace toJSONArray eventually)
move all libraries to libraries folder (i tried libs, but it gives a build error)
change path to libraries.
initialize LIB for Morris
add config and assets for xcharts
modify div to container, which can be set by library (needed since xcharts uses figure tags instead of div)
added xPlot (just basic support)
bump up version to 0.2.3