Added phonegap check

Signed-off-by: Ulysses69 <steven@poppymedia.co.uk>