Revert "Bug 513586 - Navigation to a sub-project does not reset the tools"

This reverts commit 8d4a600d3e1d130fde7864f837eb22e443901b0c
diff --git a/bundles/org.eclipse.orion.client.javascript/web/javascript/javascriptProject.js b/bundles/org.eclipse.orion.client.javascript/web/javascript/javascriptProject.js
index 4ee9ee6..80c75a3 100644
--- a/bundles/org.eclipse.orion.client.javascript/web/javascript/javascriptProject.js
+++ b/bundles/org.eclipse.orion.client.javascript/web/javascript/javascriptProject.js
@@ -749,6 +749,9 @@
 		var deferred = new Deferred();

 		if(file) {

             var floc = file.Location ? file.Location : file.location; 

+			if(this.projectMeta && floc && floc.startsWith(this.projectMeta.Location)) {

+				return deferred.resolve(this.projectMeta);

+			}

 			this.projectPromise = new Deferred();

 			var parents = file.parents ? file.parents : file.Parents;

 			this.getFileClient().getProject(floc, {names: [this.PACKAGE_JSON, this.TERN_PROJECT]}).then(function(project) {