Tweaks to top level Rakefile

1. Extract helpers into separate file (in misc)
2. Flesh out the build:disk task (a little)