Fixing BBM example and DirectoryEntry

Description here:
https://github.com/blackberry/BB10-WebWorks-Framework/issues/521