Representation spaces for central extensions and almost commuting unitary matrices