fix for calling apply on a prototype added function
Change version to 5.1 for Luna
Using shared license feature
// if it still didn't match then the argument is maybe of union type and
matches 1 of the methods at runtime (but not a specific one at design
time). just make 1 method of the matched methods.

skip for now the constructors
support for properties with a getter ("get")
use DefaultScope.INSTANCE instead of deprecated constructor
prototype.create properties creating with direct typing (@type) 
(better) support for @depercation and @protected
fix for (very likely code with warnings)

java.lang.StackOverflowError
	at
org.eclipse.dltk.internal.javascript.ti.ElementValue.findMember(ElementValue.java:110)
	at
org.eclipse.dltk.internal.javascript.ti.ElementValue.findMemberA(ElementValue.java:100)
	at
org.eclipse.dltk.internal.javascript.ti.ImmutableValue$GetChildHandler.process(ImmutableValue.java:221)
	at
org.eclipse.dltk.internal.javascript.ti.ImmutableValue$GetChildHandler.process(ImmutableValue.java:1)
	at
org.eclipse.dltk.internal.javascript.ti.ImmutableValue.execute(ImmutableValue.java:89)
	at
org.eclipse.dltk.internal.javascript.ti.ImmutableValue.getChild(ImmutableValue.java:328)
	at
org.eclipse.dltk.internal.javascript.ti.ChildReference.getValue(ChildReference.java:41)
	at
org.eclipse.dltk.internal.javascript.ti.ChildReference.getValue(ChildReference.java:39)
	at
org.eclipse.dltk.internal.javascript.ti.AbstractReference.exists(AbstractReference.java:114)
	at
org.eclipse.dltk.javascript.typeinfo.RLocalType.getChild(RLocalType.java:86)
	at
org.eclipse.dltk.javascript.typeinfo.RLocalType.getDirectChild(RLocalType.java:52)
	at
org.eclipse.dltk.internal.javascript.ti.ElementValue.findMember(ElementValue.java:198)
	at
org.eclipse.dltk.internal.javascript.ti.ElementValue.findMemberA(ElementValue.java:100)
	at
org.eclipse.dltk.internal.javascript.ti.ImmutableValue$GetChildHandler.process(ImmutableValue.java:221)
	at
org.eclipse.dltk.internal.javascript.ti.ImmutableValue$GetChildHandler.process(ImmutableValue.java:1)
	at
org.eclipse.dltk.internal.javascript.ti.ImmutableValue.execute(ImmutableValue.java:89)
	at
org.eclipse.dltk.internal.javascript.ti.ImmutableValue.execute(ImmutableValue.java:92)
	at
org.eclipse.dltk.internal.javascript.ti.ImmutableValue.getChild(ImmutableValue.java:328)
	at
org.eclipse.dltk.internal.javascript.ti.ChildReference.getValue(ChildReference.java:41)
	at
org.eclipse.dltk.internal.javascript.ti.ChildReference.getValue(ChildReference.java:39)
	at
org.eclipse.dltk.internal.javascript.ti.AbstractReference.exists(AbstractReference.java:114)
	at
org.eclipse.dltk.javascript.typeinfo.RLocalType.getChild(RLocalType.java:86)
	at
org.eclipse.dltk.javascript.typeinfo.RLocalType.getDirectChild(RLocalType.java:52)
	at
org.eclipse.dltk.internal.javascript.ti.ElementValue.findMember(ElementValue.java:198)
	at
org.eclipse.dltk.internal.javascript.ti.ElementValue.findMemberA(ElementValue.java:100)
	at
org.eclipse.dltk.internal.javascript.ti.ImmutableValue$GetChildHandler.process(ImmutableValue.java:221)
	at
org.eclipse.dltk.internal.javascript.ti.ImmutableValue$GetChildHandler.process(ImmutableValue.java:1)
	at
org.eclipse.dltk.internal.javascript.ti.ImmutableValue.execute(ImmutableValue.java:89)
	at
org.eclipse.dltk.internal.javascript.ti.ImmutableValue.execute(ImmutableValue.java:92)
	at
org.eclipse.dltk.internal.javascript.ti.ImmutableValue.getChild(ImmutableValue.java:328)
	at
org.eclipse.dltk.internal.javascript.ti.ChildReference.getValue(ChildReference.java:41)
	at
org.eclipse.dltk.internal.javascript.ti.ChildReference.getValue(ChildReference.java:39)
	at
org.eclipse.dltk.internal.javascript.ti.AbstractReference.exists(AbstractReference.java:114)
	at
org.eclipse.dltk.javascript.typeinfo.RLocalType.getChild(RLocalType.java:86)
	at
org.eclipse.dltk.javascript.typeinfo.RLocalType.getDirectChild(RLocalType.java:52)
	at
org.eclipse.dltk.internal.javascript.ti.ElementValue.findMember(ElementValue.java:198)
	at
org.eclipse.dltk.internal.javascript.ti.ElementValue.findMemberA(ElementValue.java:100)
fix for functions assigned to property expressions that the name is the
identifier of the property (this will also fix the tooltip in the code
completion that depends on the right location)
Merge branch 'master' into TypeLibs