Convert prints to operator messages for blender 2.5+

Not everyone has ready access to the output of python scripts, so this
should be more friendly, especially for new users who aren't aware they
need to have an armature selected.

--
I tested only with blender 2.66, but I did backport the changes to the others using patch.