A popular Edinburgh nightclub is being forced to close for a month after a series of license violations, including a violent incident involving staff and admission of under-age patrons.