Implemented rsync_remote.symlink_target()

Change-Id: Id99d1086b8439605a47616bc887178467c1342c4
diff --git a/rsync_remote.py b/rsync_remote.py
index 3709671..a877c46 100644
--- a/rsync_remote.py
+++ b/rsync_remote.py
@@ -72,6 +72,16 @@
         out = [[_[0], _[-1]] for _ in out]
         return out
 
+    def symlink_target(self, symlink):
+        target = symlink
+        while True:
+            try:
+                target_path = os.path.split(target)[0]
+                target = self.ls_symlinks(target)[0][1]
+                target = os.path.join(target_path, target)
+            except:
+                return target
+
     def rmfile(self, filename):
         '''Removes file on rsync_url.'''
         report_name = filename