ported scala example app
Merge pull request #467 from jayway/scala

ported scala example app