Dev bootstrap script, part 2

For https://bugs.launchpad.net/oq-platform/+bug/1220307

Just some cleanups to make the bootstrap script more concise and work more smoothly.