[aot] Add more verbose aot cache logging, fix failure detection.
[aot] Add an 'options' argument to the AOT cache configuration where additional --aot= options can be passed.