Added check for nested projects.

Projects, like the one imported from multi-modules maven project
can be nested. It this case a file can be represented by multiple
resources. Select only the one for the current project.
(cherry picked from commit ee8058809315f761fbda0ce980d612848fb9a5fa)
Added test for Re #1000607
(cherry picked from commit 9b8ed822d9dca851c969121cb33c3fbc81293d82)

Conflicts:

	org.scala-ide.sdt.core.tests/src/scala/tools/eclipse/sbtbuilder/ScalaJavaDepTest.scala
Added test for NPE happening with nested projects.
(cherry picked from commit 09cfc59b0a4a8affe64a6ce8d50a4a6dc9244fc6)
Added more comments, cleaned up ScalaJavaDepTest

Removed unnecessary logging
(cherry picked from commit 2dfffd369a415e090257e3f2fc8a9459a5f06087)
Forces the creation of the src folder in git
(cherry picked from commit f7b3a10c089edadaa33b56a28caf364a6bf67b0f)
Fixed build to adapt to new scalariform API.
(cherry picked from commit 9b7d39888d39e3a3ff441d0dc0fa1ac8fb3a5f34)
Changed the Scala library/compiler version check

It know checks at the major/minor level, not lower. And logs an error if
it cannot find a match.

Fix #1000793
(cherry picked from commit 8112072ffc6da78470a1d3f6e6f85fce254f949a)
Added 'org.eclipse.jdt.groovy.core' in Eclipse-SupplementBundle section of
MANIFEST. Fix #1000798

To correct #3135 we removed the AJDT dependency from the Scala IDE. An
undesired side-effect of this change was that the Scala IDE was no longer
usable if the Groovy IDE was also installed.
The problem was that our (aspect) class responsible of intercepting the call to
create a ScalaSourceFile was no longer used, that because our class was
targeting the 'org.eclipse.jdt.core' bundle, which is not loaded when the
Groovy IDE is installed.
The fix was to edit the MANIFEST's Eclipse-SupplementBundle section of our
'org.scala-ide.sdt.aspects' project, and make sure that our aspect class is
called also when the call is performed from the 'org.eclipse.jdt.groovy.core'
bundle (which is the Groovy IDE core bundle). The AJDT plugin does exactly
that, and that is why this problem was a side-effect of removing the AJDT
dependency from the Scala IDE.

(no review)

cherry-picked from 3b477dd3c3a9ecab9e47343534be0b471a9cbcd4
Updated 'know issues' link in the 'Scala Setup Diagnostic' popup to point to new location of the user documentation. no review.

(cherry-picked: 9f539fcdece840c4cb4be077424219e33107d466)
Created bash script for signing the Scala IDE Eclipse plugin.

It needs some love, but it does the work. no review.

(cherry-picked: 82421c50f0cf846b9a7745609a68621f24f261e5)
Improved UI for Scala completions. 

- when a proposal is chosen, its parameter names are inserted
  in place of the arguments, and the editor is put in 'link' mode:
  Tab moves the caret to the next argument, Esc and ';' move the caret
  to the end of the argument list (and exits the linked mode). Hitting
  <enter> moves the caret to the end, unless it comes after an opening
  brace -> that means a closure is needed, and the editor is put out
  of the linked mode

- context information works now. A method signature (parameter names and
  types) are shown above the completion point, and the current argument
  is correctly highlighted (bold). When the cursor leaves the argument list,
  the context information window is now removed.
Perform code-completion and import-adding in one step.

We need to to code-completion and import-adding in one step, otherwise
we risk that adding the import fails because the code-completion has
changed the underlying file and the AST positions are out of date for
the refactoring-library.

Fixes #1000854.
Merge pull request #60 from scala-ide/issue/code-completion-import-1000854

Perform code-completion and import-adding in one step.
Fixing the build for Scala trunk. No more implicit conversions from String to Name.
Merged branch platform/indigo-3.7 back in master (all changes have been
squashed in a single commit). Thanks a lot Eric for your great work.

Here follows the list of changes applied in this commit:

- Created a repo.ajdt entry and use 2.1.3 for JDT 3.7 (we could also use AJDT
  2.2 snapshot, but I still think it's better to use the currently released
  AJDT and move to 2.2 only after it is officially released).

- Use Eclipse Indigo release site (this fixes JDK 7 builds).

- Pass isMember correctly derived if the owner is a class.  Obtain jdtFlags
  using ScalaJavaMapper.mapModifiers(symbol)

- Add flags and methodParameter to ScalaLocalVariableElement.

Re #1000852.
Add a 2nd pointcut to handle files named "package.scala".
Fix for the latest scala-refactoring library.

Change is now a trait, so we need to use TextChange.
Merge pull request #63 from JHeiner/issue/compilation-unit-name-1000859

Add a 2nd pointcut to handle files named "package.scala".
Added SCALA_LIBRARY_VERSION for trunk.
Switch to the new sbt.full.library version scheme.