Clean up Makefile.am (distcheck, rebuild version.h less often)
Add command-line option to sort object keys.

Closes #79.
Let the parser rather than the lexer handle invalid characters.
Better error handling for .foo case in parser. See #141.