Originally by Simon MacDonald (@macdonst), ported to plugman and some other cleanup by Dan Moore (@mooreds). Dan Moore also pulled in the iOS code, written by Tue Topholm / Sugee  Information on writing plugins for PhoneGap 2.0 was taken from this blog by Simon MacDonald (@macdonst)