index.cgi: change backend to use bottle-cgi instead for easier development
ports all cgi-code in index.cgi to use bottle instead. this will help with development when setting up queries and all that.
Implements and closes #36 (closed).
Implements and closes #38 (closed).
Implements and closes #14 (closed).
Edited by Patrick Godwin