options.amd can be an array of dependencies instead of just a boolean or string

This changes `options.amd` so it can be an `Array` instead of just a `boolean` or `string`.

This PR is similar to https://github.com/gruntjs/grunt-contrib-handlebars/pull/78, except it just uses the `amd` option and doesn't require an additional `amdRequire` option.