change utils.R get_lib to allow package other than rCharts

see rChartsDygraphs
https://github.com/danielkrizian/rChartsDygraphs/issues/4