Add Rakefile tasks to the component generator

ref #1426