add scala sample code
add access log object for scala

make instance variables lazy to avoid problems with initializing the application in scala-based play apps.

fixes #8