fixed doctype bug + updated gitignore to reflect recetn changes to monkey build
added support for text nodes