added and tested functionDomains and subjectDomains properties
Merge pull request #65 from evillemez/domains

added and tested functionDomains and subjectDomains properties