Fixed bug: When student submits empty string, hinter returns a 500 error.

Added tests to catch said bug.

Fixed some pylint violations.