Added isDeprecated check to each tag

Still missing reference to required tags/required attributes, PHPuse and
encapsulation. Required tags and required attributes will probably still
use those two helper functions, as will encapsulation.