Add parser for pblite format

This will allow more parsing to be done by writing schemas rather than
more error-prone code. So far it's only used for focus and typing status
messages.