Revert "Fixed that errors had occurred in some endpoints, and fixed some tests. bugid:112587"

This reverts commit a4b88602a342126fe2be97a675f675bbcc60c887.

Conflicts:
	t/270-api-endpoint-templatemap.t
Revert "System Administrator should not be restricted when using Data API. bugid:112587"

This reverts commit 966dcb015a030ccfad832fe297686be39058bedf.
Revert "Restrict list endpoints by disable_data_api value. bugid:112587"

This reverts commit 2203ec15e30d83a9acf09aac8a7c5a0716a397af.
Revert "Restrict Data API for site by "site_id" parameter. bugid:112587"

This reverts commit 862df99841669c59e987ea52318fd98623c8feb4.
Added abilitiy to restrict Data API. bugid:112587