Consistency of encoding / associatedMedia

Use the same definition for encoding and associatedMedia,
as they are synonyms for one another. Also make the definition
agree grammatically with singular vs plural.

Also refer to "CreativeWork" in the description rather than
"creative work", as the former seems to be the predominant form used
for properties on CreativeWork.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Fix JSON-LD context
Merge pull request #44 from lanthaler/fix-jsonld-context

Fix JSON-LD context
Typo fix: s/occured/occurred/

Signed-off-by: Dan Scott <dan@coffeecode.net>
Role RDFa example: use "property" not "itemprop"

Signed-off-by: Dan Scott <dan@coffeecode.net>
Improving cachability of json-ld context.
Added initial tests for JSON-LD context file, to record assumptions.
Fixed test names.
Only type-coerce properties to @id whose range includes URL

... as discussed with @danbri. I also restructured to code a bit to make it easier to understand.
Nice side-effect: the context is now just 20% of the size it was before.

This addresses rvguha/schemaorg#5
Merge pull request #45 from dbs/role_rdfa_properties

Fix Role typos in definition and examples
Merge pull request #46 from lanthaler/type-coerce-only-range-URL

Only type-coerce properties to @id whose range includes URL
Sorted the property list.
Updated tests to match new json-ld context, added test for Date @type.
Fixed alumni/alumniOf mistake in http://schema.org/Role example, reported by Mark Harrison.
http://lists.w3.org/Archives/Public/public-vocabs/2014Jun/0229.html
Merge pull request #50 from danbri/master

Fixed alumni/alumniOf mistake in http://schema.org/Role
Add breadcrumbs back for Enumerated values

As enumerated values are not declared as subclasses of any
given type, our logic was skipping the creation of the
breadcrumb type hierarchy. Fall back to checking for typeOf
and creating a hierarchy that way.

Fixes #10

Signed-off-by: Dan Scott <dan@coffeecode.net>
Merge pull request #16 from dbs/breadcrumbs4enumerations

CODE: Add breadcrumbs back for Enumerated values
contentURL should have been contentUrl.
Breadcrumbs for Enumeration instance - check node for page not current breadcrumb.
Fix JSON-LD example where context is broken.