Add support for ContextualProperties in scala and factory methods in both Java and Scala.
Add copyright.
Merge pull request #121 from gorzell/contextualProperties

Add support for ContextualProperties in scala and factory methods in both Java and Scala.