Fix for non-converted newline issue in test_put.php
Adding test_resource_add.php to test creating a resource; fix for issue
in pointrel_utils.php where was using second element in an array before
checking array length and improved related error reporting
Improving error checking for URIs in resource-add.php and
pointrel_utils.php; added comment to test_resource_add.php