Allow BeautifulSoup document in the mf2py.Parser constructor

Allow BeautifulSoup document in the mf2py.Parser
constructor in addition to a file handle or string.