Fixed #860 and #1169
Imprisoned heroes as well as their commanders will get full level ups, with updated specialty, mana and movement.

git-svn-id: https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk@3150 4dfc6b2a-8b31-0410-aa91-d6c70e3ac834