Querying model needs queries of extensions only once.
Fixed SimpleJavaProjectTest failing due to the API change.
Java projects not having source folders are now disabled even if loaded using the old API.