Fix bug in Application

isExecuting always returned false as it checked a Set that was never
filled. Replaced by the keySet of funcBlockById
Fix bug in Distribution

If two BlockTypeHolders were identical but on different Modules
(maybe even for two identical leaves or subtrees on a single Module,
not tested) they'd use the same BlockTarget which resulted in some
BlockTypeHolders being unused in generating a Distribution