Cleanup Rakefile by removing unused tasks

Change-Id: I9fbff29c445efadbd0e12a62b86655971da6532f
(cherry picked from commit 8afba7e976bf01bb341c5e648488c237d4889bad)