Token: Detect nested children

* Fixed: madskristensen/WebEssentials2013#568
* Added a test case.
* Needs more rigorous test cases for this use case.