Test and Fix #1168. Add test to prove issue with inDoc. Add check for node in inDoc
History updated.
Update test to be more accurate per ls_n's notes.
Merge branch 'dev-master' of https://github.com/yui/yui3 into node-indoc