Traces of Besov, Triebel-Lizorkin and Sobolev Spaces on Metric Spaces