Compute msec duration for whisk activations from actions.

Remove unnecessary var `boundParams` in container and inline `mergeParams` methods.

On failure where action limits are not known, omit limits:null from activation annotation.

Fix action invocation to that getting a container is wrapped in a future and can thus recover properly and not drop annotations from the action. Added test to confirm precense of limits when invoke fails.

Container pool's get action method returned None only when system was shutting down and throwing an exception otherwise. Change the type of the method accordingly to remove the Option and simplify the typing. Make invokeAction complete the transaction and ensure there is at most one completion on the path (ie if the complete transaction operation itself fails, it is not subject to the recovery clause.

Remove unnecessary promise.
4 files changed