Run custom tools on file add and solution load

This fixes issues with razor templates not being generated on new projects which use them.