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.
it looks like the seed generator now generates the basedir and not a repository so this code is good (I think)