This method worked for me:
http://bleeptobleep.blogspot.co.at/2013/02/mac-install-windows-7-or-8-on-external.html
Yeah, that's the same guide I used, but I got my knickers in a twist messing about with imagex and found it far simpler to just use WinToUSB. Works perfectly with W10 on a USB3 HDD plugged into a USB2 port on a mid-2011 iMac except the sound, as Apple don't support W10 on this model. W8.1 on the other hand constantly fails upon login opining that the newly created and unique user account is unrecognisable.
I wonder if anyone has successfully installed W8.1 with this method, using imagex? Perhaps there is some minute formatting detail involved or something, but can't really see it as the boot and installation process works fine, it is when you finally reboot upon completion of installation that it fails, so that seems to indicate some vexing anomaly with W8.1 itself? I have tried a couple of different W8 images but they all terminate in the same way.