Replace deprecated code

Signed-off-by: crynobone <crynobone@gmail.com>
Implement subdomain handling for extension

Signed-off-by: crynobone <crynobone@gmail.com>
Allow orchestra/foundation to make use of latest Orchestra\Extension\RequestGenerator feature.

Signed-off-by: crynobone <crynobone@gmail.com>
Merge branch '2.0'

Conflicts:
	tests/Orchestra/Foundation/ApplicationTest.php