add beautifulsoup4 instead of beautifulsoup as dependency for java parse...

BeautifulSoup4 is speedier.

changed string syntax for mime types parser