Set NOKOGIRI_USE_SYSTEM_LIBRARIES=true when installing the bundle.

Also introduce a BUILDPACK_REVISION that gives another way besides the
output of `ruby -v` to know when we should clear the bundle.