Tweaks to resource packaging.

Other js and css files in widget folders now get published as well. This allows widgets that bring in 3rd party libraries to get their dependencies included in the page's head.