rewrote configuration module

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>
fixed a few bugs

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>
informative parse errors

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>
improved error reporting

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>
.02 release

Signed-off-by: Tim Henderson <tim.tadh@gmail.com>