Restore files and directories times (access and modification times).

This pull request depends on #275.

As the syscalls to restore a symlink modification times are not available (os.Chtime changes the linked file times) I used the github.com/docker/pkg/system that contains this functions and many other that can be very useful and tests (for example makeblockdev can be replaced with system.Mknod and used for various os).