command line script to precompile templates

I've found this script very useful to prevent very long initial page load times. Especially with pyramid where CHAMELEON_EAGER doesn't work very well.