Changed to a Rakefile for deployment (as well as other tasks)

Added tasks to Rakefile for:
 * preview
 * build
 * commit
 * push
 * generate
 * publish
 * rsync:dryrun
 * rsync:live

Hopefully, adjusted code from various sources to suit my needs :-)