Handle '\n' in format strings correctly

Fix #277.
Only report specifier locations if format strings are wellformed
Adjust unit tests
Minor updates
Merge pull request #279 from dungpa/format-specifiers

Improve reporting of format specifiers