Added a new config option and an addition URL check

The go-github package requires Github endpoints to end with a single
forward slash. To prevent errors in the config we now check (and fix if
needed) this in de code.