use stdClass instead of array for term definition sets
Merge pull request #8 from yitznewton/use-stdclass-in-terms

use stdClass instead of array for term definition sets