Parse session.maxAge as a duration

I'm very new to Scala, so I suspect there's a more idiomatic way to do this. Sorry!

I note that in future Config will provide getDuration(path, timeUnit) allowing for a nicer fix.