Added missing Temporary option for localfilesystem.
Added FileError and FileTransferError constants.
Merge pull request #1017 from DickvdBrink/phonegap

Update Phongegap definition