Default key path bitmasks now tracked for performance

Instead of enumerating all possible default paths, which gets
exponentially slower with each additional level, bitmasks for default
paths are now tracked when they are loaded (object-wide) and only those
iterated in lookup().