This command is just for fun, or you wanna get a way to spawn mobs that have no spawn eggs in. If you want the wither to have no AI that command will be in the source commands.
How to install
How to import this command into your world
First, you must give yourself a command block (If you are on a server, you must be 'OP'ed, and have access to /gamemode 1)
To get a command block, type
/give @p command_block in the chat.
Once you have a command block, right click it to open it's GUI.
Now, you must copy and paste the command from your browser into the game. Select the entire command from below, then right click and press 'copy'.
Next, go back to your minecraft world, and paste the command you just copied into the command block. There are a few different keys that may be used to do this, depending on your keyboard. The most common ones are 'CTRL + V', 'COMMAND + V', or 'STRG + V'
Finally, you can press done to exit the GUI, and execute the command block by powering it with a redstone block, a lever, or any thing you can get your grubby hands on. Just make sure you don't place it on top of the command block, or the machine will not be installed!
Show source commands
/entitydata @e[type=WitherBoss] {NoAI:1}
/summon MinecartCommandBlock ~ ~1 ~ {Command:kill @e[type=MinecartCommandBlock,r=1],Riding:{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block,Riding:{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air},Riding:{id:MinecartCommandBlock,Command:"/scoreboard objectives add spawn stat.useItem.minecraft.spawn_egg",Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~-1 {Command:fill ~ ~ ~1 ~5 ~1 ~1 stone},Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~-2 ~1 {Command:fill ~ ~ ~-1 ~5 ~1 ~-1 redstone_block},Riding:{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~-1 {Command:"/execute @a[score_spawn_min=1] ~ ~ ~ execute @e[type=Skeleton,name=SkeletonHorse,r=10] ~ ~ ~ /summon EntityHorse ~ ~1 ~ {Type:4,SaddleItem:{id:saddle},Tame:1,Attributes:[{Name:horse.jumpStrength,Base:1}]}"},Riding:{id:MinecartCommandBlock,Command:blockdata ~4 ~-2 ~1 {Command:"/execute @a[score_spawn_min=1] ~ ~ ~ /tp @e[type=Skeleton,name=SkeletonHorse,r=10] ~ ~-10000 ~"},Riding:{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~-1 {Command:"/execute @a[score_spawn_min=1] ~ ~ ~ execute @e[type=Zombie,name=UndeadHorse,r=10] ~ ~ ~ /summon EntityHorse ~ ~1 ~ {Type:3,SaddleItem:{id:saddle},Tame:1,Attributes:[{Name:horse.jumpStrength,Base:1}]}"},Riding:{id:MinecartCommandBlock,Command:blockdata ~5 ~-2 ~1 {Command:"/execute @a[score_spawn_min=1] ~ ~ ~ /tp @e[type=Zombie,name=UndeadHorse,r=10] ~ ~-10000 ~"},Riding:{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~-1 {Command:"/execute @a[score_spawn_min=1] ~ ~ ~ execute @e[type=Creeper,name=WitherBoss,r=10] ~ ~ ~ /summon WitherBoss ~ ~1 ~"},Riding:{id:MinecartCommandBlock,Command:blockdata ~6 ~-2 ~1 {Command:"/execute @a[score_spawn_min=1] ~ ~ ~ /tp @e[type=Creeper,name=WitherBoss,r=10] ~ ~-10000 ~"},Riding:{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~-1 {Command:"/execute @a[score_spawn_min=1] ~ ~ ~ execute @e[type=Creeper,name=VillagerGolem,r=10] ~ ~ ~ /summon VillagerGolem ~ ~1 ~"},Riding:{id:MinecartCommandBlock,Command:blockdata ~7 ~-2 ~1 {Command:"/execute @a[score_spawn_min=1] ~ ~ ~ /tp @e[type=Creeper,name=VillagerGolem,r=10] ~ ~-10000 ~"},Riding:{id:MinecartCommandBlock,Command:blockdata ~8 ~-2 ~-1 {Command:"/execute @a[score_spawn_min=1] ~ ~ ~ execute @e[type=Creeper,name=SnowMan,r=10] ~ ~ ~ /summon SnowMan ~ ~1 ~"},Riding:{id:MinecartCommandBlock,Command:blockdata ~8 ~-2 ~1 {Command:"/execute @a[score_spawn_min=1] ~ ~ ~ /tp @e[type=Creeper,name=SnowMan,r=10] ~ ~-10000 ~"},Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~-1 ~-1 {Command:"/execute @a[score_spawn_min=1] ~ ~ ~ execute @e[type=Spider,name=PrimedTnt,r=10] ~ ~ ~ /summon PrimedTnt ~ ~1 ~"},Riding:{id:MinecartCommandBlock,Command:blockdata ~3 ~-1 ~1 {Command:"/execute @a[score_spawn_min=1] ~ ~ ~ /tp @e[type=Spider,name=PrimedTnt,r=10] ~ ~-10000 ~"},Riding:{id:MinecartCommandBlock,Command:blockdata ~4 ~-1 ~-1 {Command:"/scoreboard players reset @a spawn"},Riding:{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ redstone_block,Riding:{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~-1 ~4 ~-1 ~-1 command_block,Riding:{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~-1 ~8 ~-2 ~-1 command_block,Riding:{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~1 ~3 ~-1 ~1 command_block,Riding:{id:MinecartCommandBlock,Command:fill ~3 ~-2 ~1 ~8 ~-2 ~1 command_block,Riding:{id:MinecartCommandBlock,Command:setblock ~1 ~ ~ wall_sign 4 replace {Text2:"{text:\\\"Destroy Machine\\\",color:white}",Text4:"{text:\\\"\\\",clickEvent:{action:\\\"run_command\\\",value:\\\"fill ~ ~-3 ~-2 ~9 ~4 ~2 air\\\"}}"},Riding:{id:MinecartCommandBlock,Command:setblock ~1 ~-1 ~ wall_sign 4 replace {Text1:"{text:\\\"\\\",clickEvent:{action:\\\"run_command\\\",value:\\\"/setblock ~ ~-2 ~ minecraft:chest 4 replace {Items:[{Slot:9,id:spawn_egg,Damage:52,Count:1,tag:{display:{Name:\\\\\\\"PrimedTnt\\\\\\\"}}},{Slot:12,id:spawn_egg,Damage:50,Count:1,tag:{display:{Name:\\\\\\\"SnowMan\\\\\\\"}}},{Slot:15,id:spawn_egg,Damage:50,Count:1,tag:{display:{Name:\\\\\\\"VillagerGolem\\\\\\\"}}},{Slot:18,id:spawn_egg,Damage:50,Count:1,tag:{display:{Name:\\\\\\\"WitherBoss\\\\\\\"}}},{Slot:21,id:spawn_egg,Damage:54,Count:1,tag:{display:{Name:\\\\\\\"UndeadHorse\\\\\\\"}}},{Slot:24,id:spawn_egg,Damage:51,Count:1,tag:{display:{Name:\\\\\\\"SkeletonHorse\\\\\\\"}}}]}\\\"}}",Text2:"{text:\\\"Get Items\\\",color:black}"},Riding:{id:MinecartCommandBlock,Command:fill ~2 ~-2 ~-2 ~9 ~-1 ~2 stained_glass 3 replace stained_hardened_clay 3,Riding:{id:MinecartCommandBlock,Command:fill ~2 ~-3 ~-2 ~9 ~ ~2 stained_hardened_clay 3 hollow,Riding:{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false,Riding:{id:MinecartCommandBlock,Riding:{id:FallingSand,Block:activator_rail,Time:1,Riding:{id:FallingSand,Block:redstone_block,Time:1,Riding:{id:FallingSand,Block:stone,Time:1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}