Change : pass tables as array of table objects
Fix : correct the behaviour under commit

Fix : correct the behaviour under commit
Fix : correct the behaviour under resetCache, no value should be
smaller than 0
Merge branch 'template-services' of https://github.com/ryderlee/php_backend into template-services

Conflicts:
	vendor/slim/slim/libs/BookingService.php