Branch/tdg units

@eric79 @youngca 
Here's the first pass of getting unit icons so that they can be added to the map.
It technically isn't necessary to initialize a variable to `undefined` since the line:

    var value;

will do the same.  I don't have a problem with leaving it if you prefer to be explicit, but I just thought I would point it out.