Rework QSAPI, BaseController, and BaseModel handling
Merge branch 'add-qsapi'

Conflicts:
	Deal/Controller/BaseController.php
	Deal/Model/BaseModel.php