Moving rake tasks into rake file broke things. Added railties so tasks c...

...an still be called by other applications.