BOM detect and remove (py2k and py3k) as discussed in issue #600

BOM detect and remove (py2k and py3k) as discussed in https://github.com/getpelican/pelican/issues/600