Fix for issue #669

Dotfiles in the `source` directory did not get copied to `public` when running `rake generate`. Moved `copydot.invoke` up to the `generate` task so it runs both there and in `deploy`.