added setPackages function, analog to setExport

similarly to the setExport method I need an option to force workers to load certain packages in situations where I can't set the .packages variable of the foreach function (e.g. because foreach is called by a plyr function).