fixed reference to options.esc instead of options.escape
fixed reference to options.esc instead of options.escape
Merge commit '2ed2d5c32f29617cf1f192bc4df48c139ba5cd74'
Merge commit '52318d2bfb95444ad40b9ba18dd89ef060b52df3'
Add standalone="true" option for xml header generation
add doctype support
fix escape for numbers, etc. -> fixes test case
clean & speed up attribute generation
introduce makeNode method
cleaning
convert to switch
get rid of slow string concatenation
add rudimentary pretty printing support
update copyright
fix for stringifying and escaping arbitrary objects.
use the more common yes
support for falsy value/text values
prettyPrint fix
Merge pull request #6 from joscha/improvements_1

doctype, xml header, cleaning, fixes