Fixed infinite recursion issue with applyDynamic
Merge branch 'master' into scala-2.11

Conflicts:
	project/project.scala