Create local and remote short URL expansion

expandurl() is renamed to longurl(), which uses the longurl.org service.
expand() is now a local function, should longurl() be non-functioning.