Support choosing term (both CLI and web)

Add the support of choosing which term to grab. User can input human readable term strings and the script will calculate the term ID. It can also guess what term it is now.

P.S. Add a requirements-webserver.txt for running the server.