Move definition parsing into single parsing phase.

Increase testability!
update changelog
Display error message when there's a parse error.