Removed unused Error mojit in sample app1.
If a task has been flushed when its parent is asking to stringify it then a stub should be returned since this task will be embeded on the client side; else this task would be embedded and would have no stub on the client side to contain it. The optional group property should be read from task.specs.
Expected object can now included properties of tasks. Changed the way the expected object is compared with the actual results.
Merge pull request #18 from aljimenez/master

Fixed group property, not embedding a task if it has already been flushed.