Added workaround for bug in YARN AMRMClient that requests more containers then it was asked for when asking containers in multiple allocate calls.
Allow customizable -Xmx ratio to container memory.
Added application event handler for handling provision timeout.
Change reserved memory from ratio to fix value.
skip static fields.
Catch Throwable when calling EventHandler
Merge pull request #63 from continuuity/feature/timeout-request

Added application event handler