CB-7027 GetMetada fails on Windows8

GetMetadata in FileProxy.js returns the object "basicProperties.dateModified" in the case of a file and a folder. 
This function needs to return the primitive value of dateModified by using the function valueOf.
Furthermore, it is interesting for a file in some cases to return also the primitive of basicProperties.size.