Correct and simplify the logic introduced before to handle approot:

 - Only the port is needed to run gitit2
 - The approot defaults to `http://locahost:port` but can be set to an
 arbitrary url (with a different or no port) from the settings file