Movie star Leonardo DiCaprio was mobbed by fans as he visited Home, an Edinburgh restaurant that helps the homeless.