ensure that the length property is updated when using empty

Enyo-DCO-1.1-Signed-Off-By: Cole Davis (cole.davis@lge.com)
Merge pull request #822 from enyojs/ENYO-97-coledavis

Fix for: ENYO-97