Support for multiple template repositories

A working first stab at support for multiple template repositories. Main aim is to allow for internal company repositories so that company specific templates needn't pollute the public repository.
if the template isn't known to the first remote, what happens here? I would expect it to throw maybe and not get around to looking at the second remote? may be missing something