Fix for #49, upgrade scala to 2.11.2

Fix for #49, upgrade scala to 2.11.2
agreed. I can open new issues for the above.