Merge pull request #3 from Simn/master

Metadata support, package sorting and baseUrl handling
Started tinkering with xml
Merge remote-tracking branch 'origin/master' into xml

Conflicts:
	res/index.js
Xml nearly working
Xml basically working, with bugs.
Minor
generate typedef target
print enum types correctly
sort tree
added missing /index.html to package links
let's keep our tags closed
process abstract field doc
temp fix for the indentation problem
output file, do not use fancy #if for platform availability
sort class fields
uhm...
print platform availability for fields