Refactored restore iterators to use a much more compact approach.
Implemented most of the metadata restore handling
Default store metadata
Improved handling of metadata, especially on Linux/OSX
Removed some TODO's
Enforced current metadata size limitations
Merge branch 'master' into metadata
Fixed a bug with applying metadata on Windows
Implemented ACLs on Windows
Merge branch 'metadata'