Define gemfile_path based on lib name for dummy app

Extensions developers need to make sure they add a non core lib name to
their Rakefile so that the proper path to Gemfile is generated in
boot.rb along with their dummy app.

Motivation here is help users boot their extensions using a preloader like zeus.

Fixes #4253