added moment and bootstrap-daterangepicker to the resources

This also adjusts this plugin to be usable purely as a library plugin included by other plugins