Implemented External Display and game pad.

It is now possable to play the game on an iphone through an
external display. This works both through airplay with mirroring
and HDMI. Currently has some optimisation issuse with attacking
animation.