Deploying Ola Hallengrens scripts - Index Optimization
The parameters will depend on what tasks you want, how often and when you want to run them. This is really up to you.
The default location is master db, you can put them elsewhere. But i dont see much benefit in doing that.
Run the script to create the command log table first.
The command log table can be used by the scripts to log events. 
Availability groups are supported. 


Most of these questions are answered in Ola's FAQ. I highly reccomend you read it.

Personally, I find the full maintenance solution is too much. I prefer to just call the tasks I want using the examples provided. 

But it's worth running it in dev as it will give you working examples of how to create the agent jobs. There is no "right answer" with this stuff, you really need to experiment and select what is right for you. 

One thing I struggled with is that if you want to back up to a network address you need to grant permission to the account that SQL Server uses. Therefore it should be a domain account.