more precise isMacroApplication check

Replaces the `symbol.isMacro` check with `symbol.isTermMacro`.
Doesn’t make any difference to trunk but helps a lot with macro annotations.
refactor out fresh name prefix extraction logic

1. refactor out FreshNameExtractor out of Quasiquotes cake into
   SymbolTable (can’t put it outside due to the fact that names are
   path-dependent)

2. add optional parameter to the fresh name creator to cover additional
   qq$ prefix needed for quasiquotes

3. add unit tests
Remove deprecated constructor from the migration annotation

The migration annotation had a deprecated 2 arg constructor that was
deprecated in 2.10.0. This commit removes that constructor. Because
migration is private to the scala package this change shouldn’t affect
the rest of the community.
Removing deprecated code.

Code which has been deprecated since 2.10.0 and which allowed
for straightforward removal.
SI-7985 Allow qualified type argument in patterns

We were considering the lower case `s` in `case _: Array[scala.Int]`
as a sign that we were dealing with a type variable pattern.

Now, we only do this if a lookahead confirms the absence of a the `.`
SI-7985 Allow projection of lower-cased prefix as pattern type arg

As per the last commit, tighten up the interpretation of a lower
cased identifier meaning that we're looking at a type variable.
SI-7985 Refactor parsing of pattern type args

Just parse as though it is a type, and post process to
add the Bind if it turns out to be a type variable.
use more specific cake dependencies
SI-7221 rewrites pollForWork non-recursively

Fixes #1001407
deprecate Pair and Triple
SI-7987 Test case for "macro not expanded" error with implicits

Fixed, serendipitously, a handful of commits ago in 4a6882e772,
"SI-7944 FOUND: stray undetermined type params in vicinity of
implicits".
SI-6329 Graduation day for pending tests for tag materialization

Two kids in the class or '6329 had to repeat the senior year,
but with a little help from 76b92ef, they've finally graduated.

Here's the class photo:

	commit 3e855661136bb6c530ef1d3a24dc83800e7f1134
	Author: Eugene Burmako <xeno.by@gmail.com>
	Date:   Thu Sep 6 22:19:56 2012 +0200

	    test suite for SI-6329

	 test/files/run/t6329_repl.check          | 13 +++++++++++++
	 test/files/run/t6329_repl.scala          |  8 ++++++++
	 test/files/run/t6329_repl_bug.check      | 13 +++++++++++++
	 test/files/run/t6329_repl_bug.pending    | 10 ++++++++++
	 test/files/run/t6329_vanilla.check       |  2 ++
	 test/files/run/t6329_vanilla.scala       |  4 ++++
	 test/files/run/t6329_vanilla_bug.check   |  2 ++
	 test/files/run/t6329_vanilla_bug.pending |  7 +++++++
	 8 files changed, 59 insertions(+)
Merge pull request #3172 from retronym/ticket/7987

SI-7987 Test case for "macro not expanded" error with implicits
Merge pull request #3175 from retronym/ticket/6229

SI-6329 Graduation day for pending tests for tag materialization
Merge pull request #3131 from densh/pr/deprecate-pair-and-triple

Deprecate Pair and Triple
Merge pull request #3152 from paulp/pr/deprecations

Removing deprecated code.
Merge pull request #3138 from densh/pr/fresh-name-extractor

Refactor out fresh name prefix extraction logic
Merge pull request #3156 from JamesIry/remove_deprecated_migration_constructor

Remove deprecated constructor from the migration annotation
Merge pull request #3134 from xeno-by/topic/is-term-macro

more precise isMacroApplication check
Merge pull request #3154 from huitseeker/issue/SI-7221-PR

SI-7221 Rewrites pollForWork non-recursively