NG: Configuration parser

Implements the configuration spec as defined in #646 with initial configuration version 0.1.
@dmp42 @wking @visualphoenix 
Let's make sure the fields are heavily documented.