parser: Ignore UTF-8 BOM if necessary
According to JSON spec BOM shouldn't be part of the JSON data, but also recommends to tolerate files with a BOM marker. As this is common in several Windows JSON generators, handle it graceful in json-glib and skip it for UTF-8 BOM.
Fixes: #56 (closed)