Added indices for functions and properties in package and used them to speed up completion
Classes by package index now contains only top-level classes
Renamed to index classes for consistency