Update erb_file method for betterness

This commit updates the erb_file method to make the outfile optional, assuming
the outfile is the infile sub '.erb' if no outfile is supplied. It also adds an
option to remove the original file if desired.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>