add support for Gemfile.d and routes.d plugin mechanisms

**Do not merge this without merging the corresponding crowbar/crowbar#1723 pull request!** otherwise the monkey-patching will break and your engines will not be mounted etc ...