Swapped argument order in autodetect_target_to_string().

This makes more sense, it's more typically "object-oriented" this way.
Snapshot, adding BoardId to Target type.

Won't work for now since no Config is handy when creating new Target. D'oh!