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

See: https://github.com/GigaOM/legacy-pro/issues/3619