fix capsule initialization
Merge branch 'master' of git.openmole.org:openmole
Fix NPE when creating capsuleUI.