Fix for recusion limit hit for _rake_command alias

Inserted ZSH precommand modifier for the _rails_command and _rake_command functions. 

Otherwise, a recursion limit will be hit when rake or rails are called after a user sources the .zshrc file for instance.

Fixes #2550