Configurable endpoint for updates

Moves the endpoint URL formation to the package's __init__ so that
local testing can be more easily done against different endpoints.
Move add-on code into addon/ subdirectory

This makes room for the new web code to come in.