Added validate target; checks for well-formed XML. No schema checking yet.
Added dist and formatted directories to ignore list.