Fix Rakefile

The build/copy_public targets were being execute before the publish target

However, the publish target clean up the build directory by doing git reset --hard.
So I had to copy/paste the publish target to be able to copy the public
dir into the middleman output.