prototype to export JSON rather than XML
function parameters and object properties can have multiple types
rename new exporter to "dapi"
export events separately from (normal) methods
sort properties, methods, and events
output tags as array rather than string like "private deprecated"
copy neonstalwart's changes to dojov1.js in 6424818 into dapi.js
fix missing dependency