small fixes plus add Raiku Scala client

Sorry. Had to remove some branches to get rid of that Reference/References commit kicking around and re-submit a few things. I'll get the hang of this by EOW, promise!