Adjusted vendor dirs of example applications

- update composer json to chosse right path
- set vendorPath in application config if not default