[#1231] Extract parsing out of play to play.api.Configuration

see #1231