Changes made by Keith Ellington (kellington@trihydro.com).
added phonegap code back in, disabled the htm5 work around (html5 input type="file" only works on IOS due to androids webforms not supporting it...go figure. Use it as a debug comparison I guess)