Make scholar.py compatible with Python 3

This pull request brings:
  * Support for Python 3 (while preserving Python 2 support)
  * Updates the parser to work with Beautiful Soup 4
  * Improves the error message when no query string is passed

Thanks for your review!

Pablo