Allow empty spaces to be specifed in template.

Allow user to specify empty spaces with '~' instead of single-cell tiles
('.') in template to fill needed empty space. See
http://jsfiddle.net/iNeedFat/vA4Nc/1/ to see where this would be
necessary.