Adds an /issue/latest path to API.

Some other small fixes as well