Added function destroy(rank)
Merge branch 'dev' of github.com:colobot/colobot into dev