Check for unicode byte order marks (BOMs) in Newick trees under Python 2

Cherry-picked from pull request #241 / #310
Thank Nigel for Newick unicode BOM fix
Split unit test method into three smaller tests