Merge pull request #1732 from retronym/ticket/6690

SI-6690 Release reference to last dequeued element.
Merge pull request #1733 from retronym/ticket/6614

SI-6614 Test case for fixed ArrayStack misconduct.
Merge pull request #1744 from retronym/ticket/4922

SI-4922 Show default in Scaladoc for generic methods.
Merge pull request #1691 from retronym/ticket/6558

SI-6558: typecheck lazy annotation info using non-silent context
Merge pull request #1701 from retronym/ticket/5877

SI-5877 Support implicit classes in package objects
SI-6795 Adds negative check for "abstract override" on types in traits

"abstract override" shouldn't was being allowed on types in traits but the result
made no sense and the spec says that shouldn't be allowed.
Fix for SI-6595, lost modifiers in early defs.

Saw this by accident; the trees created for early defs would
wholesale replace the modifiers with PRESUPER rather than
combining them. FINAL was lost that way, as would be any other
modifiers which might be valid there.
SI-6795 Simplify errors related to "abstract override" on type members

Instead of saying "only allowed on non-type members of traits" use
separate errors for "not allowed on types" and "only allowed on members
of traits"
Merge pull request #1588 from Atry/patch-1

Treat name in getResourceAsStream as resource path
Merge pull request #1731 from retronym/ticket/5858

SI-5858 xml.Node construction ambiguity is gone.
Merge pull request #1719 from andriyp/ticket/5841-clean

SI-5841 reification of renamed imports
Merge commit 'refs/pull/1637/head' into pr/1637

* commit 'refs/pull/1637/head':
  Support "javap -" for lastvar, move JavapTool into JavapClass.
  Restore unmangling but add -raw; massage options to support tool args like -raw and combined -pv, and not pass through arbitrary options.
  Javap for repl output.
  Javap for Java 7 (Fixes SI-4936)

Conflicts:
	src/compiler/scala/tools/nsc/interpreter/AbstractFileClassLoader.scala
SI-5841 reification of renamed imports

Reification of renamed imports is done by catching Selects with name != their tree.symbol.name,
replacing this name with tree.symbol.name, and then doing reifyProduct in case
of renamed terms and reifyBoundType (inner) in case of renamed types.
Cleanups of reifyBoundTerm and reifyBoundType

Cases in reifyBoundTerm are merged by constructors; conditions in reifyBoundType are linearized;
also, in latter, or-patterns are used to merge some cases;
and some minor stuff not worth mentioning.
Fixes SI-6758: force LazyAnnnotationInfo for DefDef and TypeDef

Looks like the change in 25ecde037f22ff no longer forced
lazy annotations for some of the cases.
Also removed forcing for PackageDef annotations as we currently
don't support them.
SI-6288 Position argument of unapply

`atPos(pos) { ... }` doesn't descend into children of
already positioned trees, we need to manually set the
position of `CODE.REF(binder)` to that of the stunt double
`Ident(nme.SELECTOR_DUMMY)`.
Merge pull request #1752 from scalamacros/ticket/5841

Ticket/5841
Merge pull request #1751 from paulp/pr/1637

Merge conflict resolution for #1637
Merge remote-tracking branch 'origin/2.10.0-wip' into merge-wip-into-2.10.x

# By Eugene Burmako (1) and others
# Via Adriaan Moors (2) and others
* origin/2.10.0-wip:
  Fixing OSGi distribution.
  Fix for rangepos crasher.
  SI-6685 fixes error handling in typedApply
Merge pull request #1737 from retronym/ticket/6555

SI-6555 Better parameter name retention