Use explicit version of baseimage-docker

Set version to 0.9.7 of baseimage-docker.
Use relative path in bundle install (rails.sh).