Implement sorting of synced_folders

It's useful if you want to mount something inside `/vagrant` or if you have some another mount in some synced folder. I.e. old vagrant lxc could first mount `/vagrant/something`, then mount `/vagrant`, effectively hiding first mounted directory.

This piece of code is extracted from virtualbox driver.