Fix string id bug. Make metadata.model.has return false for undefined properties (plain object and backbone), and true for null