Make use of commodity format directive as a hint for parsing amount. Kinda resolves simonmichael/hledger#487
- Hunt down adjacent punctuations with altering char. - Add some tests dedicated to parsing amounts.