New York's craft beer industry is set for a boost after new laws were agreed that include tax breaks for small brewers.