Add a way to directly get the Middleman::Application (branch v3-stable)

This is the fix for the issue #68 for the v3-stable branch.