Only mark specified directories as in_app in Rails

Use a whitelist approach for marking lines as in app in a Rails app. Specifically the current code marks everything in e.g. `vendor/bundle` as `in_app` - a common approach to deploying Rails apps is running `bundler --deployment` which places all gems in `vendor` so it messed up the backtrace.