Improve finding boundaries of elements for fontification.  Also added P for price directives.
Merge branch 'master' of https://github.com/ledger/ledger
Detect the beginning of periodic transactions properly.