functions in the tbl_relation.php added to a new file libraries/tbl_relation.lib.php
Merge pull request #445 from scnakandala/gsoc_2013

functions in the tbl_relation.php added to a new file tbl_relation.lib.php