add doctype check in xml output and a sample XML

sample XML is validated against ad.dtd using Oxygen
Merge branch 'master' of https://github.com/tungqd/BestSiteAd

Conflicts:
	BestSiteAd/controllers/rest.php