Overwrite existing file on getFile when create is true
CB-7375: CB-6148: Ensure that return values from copy and move operations reference the correct filesystem
Merge remote-tracking branch 'rodrigo/overwrite-create'
CB-7413 Adds support of 'ms-appdata://' URIs
CB-7375: Partial revert to resolve WP8 failures
[CB-7417][File tests] added proper matcher to compare fullPath property

Specs : 111, 112 & 121-124, were using [toBe, toEqual] to compare a
fullPath property from an Entry.
The right matcher to use is toCanonicallyMatch, that it makes a fair and
right comparison across platforms.

In addition, special case to compare Windows Phone entries, was removed.
[CB-7418][DirectoryEntry] Added fullPath variable as part of condition

As well as NativeURL property, the fullPath variable should be part of
the condition to avoid that a null value becomes a path, by adding a
slash at the end of the undefined string.
So in order to add a slash to it, fullPath should contain a value.
Merge branch 'CB-7418' of https://github.com/martincgg/cordova-plugin-file
[CB-7419][WP8] Added support to get metada from dir

The error CODE 1, in the callback it was about the a failed attempt to
get the size of a directory using IsolatedStorageFileStream, get that
information, throwing a SystemException 'DirectoryNotFoundException'.
Instead IsolatedStorageFileStream to get that information from a
directory, now uses Application.GetResourceStream, to that information
from the provided path, only if directory. If other file it would use
'IsolatedStorageFileStream'
Merge branch 'CB-7419' of https://github.com/martincgg/cordova-plugin-file
[CB-7375] Remove leading slash statement from condition

Windows Phone file paths starts with a leading slash, if the path is an
invalid one, the native side it will report a error callback with the
respective error code.
Amazon related changes.
[CB-7375][Entry] get proper filesystem in Entry

When the native side it doesn't return any kind of value related
directly with the fileSystem, it has to be recreated after a copy,
however, it makes perfect sense that, when the entry for the copied or
moved file if there's no value in entry.fileSystem, it takes the
filesystem property from the parent directory that it has been moved to
or copied to. So instead of return a null object or take the previous
filesystem(origin) from whatever location it was copied from. It would
be better take the parent filesystem name and recreate it.
[CB-7422][File Tests] Use proper fileSystem to create fullPath

The filesystem uses root filesystem (PERSISTENT) to compare with a
TEMPORARY filesystem.
This is wrong, if TEMPORARY, temp_root, should be used to assign value
to fullPath.
Refactored much of the logic in FileMetadata constructor.  Directory.size will return 0
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-file
Merge branch 'CB-7375' of https://github.com/martincgg/cordova-plugin-file
Merge branch 'CB-7422' of https://github.com/martincgg/cordova-plugin-file
Merge branch 'CB-7413' of https://github.com/MSOpenTech/cordova-plugin-file
CB-7431: Avoid calling done() twice in file.spec.109 test

Calling done twice appears to put Jasmine into some kind of bad state,
where custom matchers are no longer attached to the expect() objects.
This stops many subsequent tests from passing.