Added ability to specify dependencies of AMD module to AMD module generation function