Add Source-Repository info and Setup.hs file

Removes other cabal sdist warnings.
Refactor scotty endpoints and make issuer configurable

Creates separate handler functions for the authorization and token
endpoints, reducing the number of parameters required and making it
more obvious which functions are used in different endpoints.

Also makes the issuer value of the OpenID configuration a parameter,
removing the hard-coded URLs from the discovery data.