update for issue #22 and change 'attribute' to 'property' in text.
Merge pull request #30 from mamund/default-mediatype

update for issue #22, fix full-sample url/value bug, change 'attribute' to 'property' in text.