Add an addResourcesToBinaries() function

This allows adding an HVIF icon from an RDEF file directly
to binaries, without having to patch makefiles.
Fix missing cmd:xres in PROVIDES for cross-compiles

This should fix #35 (ARM bootstrap).