Split out laravel base and composer base in case they're in different directories

Anything pointing to composer.json or vendor/, should use path.composer… otherwise it's path.base.

Also, allows the app to be named with a namespace.