Fix all localhost references
Fix all localhost references

Added section to the generate function to fix all localhost references
to a new domain reference indicated by a new argument (—new-domain).

joshgerdes/buster