Ensure trailing '/' in server URL given by user

For example if user gives server URL without trailing slash, requests will be made to /tmccourses.json instead of /tmc/courses.json.

Also added a print to show user the actual (possibly modified) URL used.