moved email logic from xmldoc into spider.cpp.
add maxCrawlRounds parm. added crawlStatus
msg in json output to indicate why crawl stopped.