A new project is discovering London in a period when queering or indecent acts could led to imprisonment or even hanging