When a status flag (! or *) is explicitly specified for an individual posting, it always has a priority over entire transaction status.
Merge pull request #306 from maxsatula/status-behavior

Status (cleared/pending/uncleared) processing behavior
Document --unrealized
Document --values
Typo fix
Format commands properly
Add regression test for commit de17ccf1

Add regression test for commit de17ccf1 (" When a status flag (! or *) is
explicitly specified for an individual…")
Fix bug 1051 ledger-posting-amount-face doesn't work